com.ibm.eNetwork.HOD.common.cached
Interface WSLoadableAppletInterface
- All Superinterfaces:
- LoadableAppletInterface
- public interface WSLoadableAppletInterface
- extends LoadableAppletInterface
WSLoadableAppletInterface provides an optional mechanism to access
the caching management of Host On-Demand specific libraries provided
by the Host On-Demand server when used in a Java Web Start environment.
A custom application, implementing this interface and launched via
com.ibm.eNetwork.HOD.cached.wsloader.WSCachedLoader
in a Deployment Wizard derived JNLP file, can specify automatic caching
management of the required Host On-Demand specific libraries.
Method Summary |
boolean |
areSessionsActive()
Called by WSCachedLoader to query the application if any
sessions are currently active when a user attempts to quit
the application. |
java.lang.Object |
callExtendedFunction(java.lang.String function,
java.lang.Object[] parms)
Method provided for the Web Start client for future or extended
function above what is currently implemented. |
int |
closeAllSessions()
Called by WSCachedLoader for the application to cleanly terminate
any active sessions. |
areSessionsActive
public boolean areSessionsActive()
- Called by WSCachedLoader to query the application if any
sessions are currently active when a user attempts to quit
the application. If this function returns
true, the user will be be asked to confirm that they want
to exit.
closeAllSessions
public int closeAllSessions()
- Called by WSCachedLoader for the application to cleanly terminate
any active sessions. Then the code returns from this method, all
sessions should be shut down.
callExtendedFunction
public java.lang.Object callExtendedFunction(java.lang.String function,
java.lang.Object[] parms)
- Method provided for the Web Start client for future or extended
function above what is currently implemented.
This will allow us to add new capabilities without changing
the interface.