|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.accendia.netstart.client.service.ConnectionContext
public class ConnectionContext
This class provides access to the ServerContext connection object that is used by the JNetStart network class loader to load the application. The application can use the connection object to invoke other Iris applications installed on the server. For more information regarding developing client/server applications for Iris consult the Iris Server documentation.
The regular Swing application is a client for a service installed on the server from where it is loaded. By reusing the JNetStart connection the number of socket connections to the server is limited to one and the application startup time is reduced substantially.
| Method Summary | |
|---|---|
static ConnectionContext |
getConnectionContext()
Returns the browser context associated with the network class loader that is loading the application. |
com.accendia.iris.client.ServerContext |
getServerContext()
Returns the ServerContext connection object that is created by JNetStart to load the application. |
void |
releaseServerContext()
This method should be called if the loaded application finished using the ServerContext so the JNetStart class loader can close the connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConnectionContext getConnectionContext()
public com.accendia.iris.client.ServerContext getServerContext()
throws java.io.IOException
java.io.IOException - If the JNetStart fails to reconnect to the serverpublic void releaseServerContext()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||