|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aelitis.azureus.core.AzureusCoreFactory
public class AzureusCoreFactory
Constructor Summary | |
---|---|
AzureusCoreFactory()
|
Method Summary | |
---|---|
static void |
addCoreRunningListener(AzureusCoreRunningListener l)
Adds a listener that is triggered once the core is running. |
static AzureusCore |
create()
Azureus core is a singleton that must be initially created by someone, and initialised |
static AzureusCore |
getSingleton()
Once created the singleton can be accessed via this method |
static boolean |
isCoreAvailable()
Returns whether the core is available. |
static boolean |
isCoreRunning()
Returns whether the core is running. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AzureusCoreFactory()
Method Detail |
---|
public static AzureusCore create() throws AzureusCoreException
AzureusCoreException
public static boolean isCoreAvailable()
public static boolean isCoreRunning()
public static AzureusCore getSingleton() throws AzureusCoreException
AzureusCoreException
public static void addCoreRunningListener(AzureusCoreRunningListener l)
This is in AzureusCoreFactory instead of AzureusCoreLifecycleListener
so that listeners can be added before the core instance is
even created.
l
- Listener to trigger when the core is running. If
the core is already running, listener is fired
immediately
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |