com.aelitis.azureus.core
Class AzureusCoreLifecycleAdapter
java.lang.Object
  
com.aelitis.azureus.core.AzureusCoreLifecycleAdapter
- All Implemented Interfaces: 
 - AzureusCoreLifecycleListener
 
public class AzureusCoreLifecycleAdapter
- extends java.lang.Object
- implements AzureusCoreLifecycleListener
  
- Author:
 
  - parg
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AzureusCoreLifecycleAdapter
public AzureusCoreLifecycleAdapter()
componentCreated
public void componentCreated(AzureusCore core,
                             AzureusCoreComponent component)
- Specified by:
 componentCreated in interface AzureusCoreLifecycleListener
 
 
started
public void started(AzureusCore core)
- Specified by:
 started in interface AzureusCoreLifecycleListener
 
 
stopping
public void stopping(AzureusCore core)
- Specified by:
 stopping in interface AzureusCoreLifecycleListener
 
 
stopped
public void stopped(AzureusCore core)
- Specified by:
 stopped in interface AzureusCoreLifecycleListener
 
 
stopRequested
public boolean stopRequested(AzureusCore core)
                      throws AzureusCoreException
- Description copied from interface: 
AzureusCoreLifecycleListener 
- return true if the request has been accepted (and hence the listener will arrange for a stop to occur
- Specified by:
 stopRequested in interface AzureusCoreLifecycleListener
 
- Returns:
 - 
 - Throws:
 AzureusCoreException
 
 
restartRequested
public boolean restartRequested(AzureusCore core)
                         throws AzureusCoreException
- Specified by:
 restartRequested in interface AzureusCoreLifecycleListener
 
- Throws:
 AzureusCoreException
 
syncInvokeRequired
public boolean syncInvokeRequired()
- Description copied from interface: 
AzureusCoreLifecycleListener 
- Some listeners must be invoked on the same thread that initiates a core closedown. In particular
 the show-alerts-raised-during-closedown logic requires that it is invoked on the swt thread that
 initiated the closedown.
- Specified by:
 syncInvokeRequired in interface AzureusCoreLifecycleListener
 
- Returns:
 
 
 
requiresPluginInitCompleteBeforeStartedEvent
public boolean requiresPluginInitCompleteBeforeStartedEvent()
- Description copied from interface: 
AzureusCoreLifecycleListener 
- hack - original semantics of the "started" event was that all plugins init complete
 However, some can take a long time (and even block if attempting to acquire, say, public
 IP address and version server is down...) so added this flag to allow listeners to
 indicate that they're happy to be "started" before plugin init complete
- Specified by:
 requiresPluginInitCompleteBeforeStartedEvent in interface AzureusCoreLifecycleListener
 
- Returns: