|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.intrinsyc.janet.Main
The Main class for the Ja.NET runtime. Used to start the runtime when the runtime is being used to host Java server objects (but not inside servlets).
© 2007 Intrinsyc Software International, Inc. All rights reserved.
Method Summary | |
static void |
addInvocationListener(InvocationListener listener)
|
static void |
disableLogging()
Disables logging, overrides config file settings Call this only after the config file has been loaded |
static java.lang.Object |
getSingletonInstance(java.lang.String className)
Method getSingletonInstance If a Ja.NET server is running a singleton instance of the class specified by className, then the instance is returned, else null is returned. |
static java.lang.String |
getVersion()
Retrieves the current version of the runtime |
static void |
initWithoutConfigurationFile()
provides a mechanism to prevent the runtime from trying to load a configuration file. |
static void |
main(java.lang.String[] args)
Starts the Ja.NET runtime. |
static void |
reenableLogging()
Re-enables logging after logging has been disabled by calling disableLogging |
static void |
removeInvocationListener(InvocationListener listener)
|
static void |
shutdown()
Method shutdown Shuts down the runtime ending all server tasks |
static long |
timeToExpiration(java.lang.Object o)
Returns how long until the lease on an object expires Throws a remote exception if there is no lease on an object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void addInvocationListener(InvocationListener listener)
public static void disableLogging()
public static java.lang.Object getSingletonInstance(java.lang.String className) throws RemoteException
RemoteException
public static java.lang.String getVersion()
public static void initWithoutConfigurationFile() throws RemoteException
RemoteException
public static void main(java.lang.String[] args) throws RemoteException
args
-
RemoteException
public static void reenableLogging()
public static void removeInvocationListener(InvocationListener listener)
public static void shutdown()
public static long timeToExpiration(java.lang.Object o) throws RemoteException
RemoteException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |