|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sssw.rt.util.AgRuntime
This class contains static initialization methods that may be used by non-SilverStream applications (either standalone applications or applets) to communicate with the SilverStream server. This includes supporting the ability to use:
AgrServerSession,
AgrData| Method Summary | |
static void |
checkInitNameSpace()
Verifies that SilverStream was able to initialize the JNDI name space. |
static AgrServerSession |
connect(String host)
Create a server session on the server with the specified host name. |
static AgrServerSession |
connect(String host,
int port)
Create a server session on the server with the specified host name and port. |
static AgrServerSession |
connect(URL urlOnServer)
Create a server session on the server named by the specified URL. |
static AgrServerSession |
connectRMI(String host)
Create an RMI (actually, RMI/IIOP) session on the server, using the specified host name to obtain the server object to connect to. |
static AgrServerSession |
connectRMI(String host,
int port)
Create an RMI (actually, RMI/IIOP) session on the server, using the specified host name to obtain the server object to connect to. |
static AgrServerSession |
connectRMI(String host,
int port,
int rmiPort)
Create an RMI (RMI/IIOP) session on the server, using the specified host name to obtain the server object to connect to. |
static AgrServerSession |
connectRMI(String host,
int port,
int rmiPort,
String username,
String password)
Create an RMI (RMI/IIOP) session on the server, using the specified host name to obtain the server object to connect to. |
static File |
getApplicationRoot()
Get the "application root" directory, if any. |
static void |
init(AgiUserLogin login)
Initialize the SilverStream runtime. |
static void |
initFromApplet(Applet applet)
Initialize the SilverStream runtime. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static void initFromApplet(Applet applet)
applet - the Applet object in which the SilverStream code is to runpublic static void init(AgiUserLogin login)
login - Callback class, to be called back if the server requires
the user to log in. May be null if no login handler is required.
public static AgrServerSession connect(URL urlOnServer)
throws AgoApiException,
AgoVersionUnsupportedException
urlOnServer - the URL of an object on the server to be contacted
public static AgrServerSession connect(String host,
int port)
throws AgoApiException,
AgoVersionUnsupportedException
host - the host name (or Internet address) of the server to be
contactedport - the port number of the HTTP server on the host
public static AgrServerSession connect(String host)
throws AgoApiException,
AgoVersionUnsupportedException
host - the host name (or Internet address) of the server to be
contacted
public static AgrServerSession connectRMI(String host)
throws AgoApiException,
AgoVersionUnsupportedException
host - the host name (or Internet address) of the server to be
contacted
public static AgrServerSession connectRMI(String host,
int port)
throws AgoApiException,
AgoVersionUnsupportedException
host - the host name (or Internet address) of the server to be
contactedport - the port number on which the naming server on the specified
host is listening
public static AgrServerSession connectRMI(String host,
int port,
int rmiPort)
throws AgoApiException,
AgoVersionUnsupportedException
host - The host name (or Internet address) of the server to be
contactedport - The port number on which the naming server on the specified
host is listeningrmiPort - The RMI port number on which the naming server on the specified
host is listening
public static AgrServerSession connectRMI(String host,
int port,
int rmiPort,
String username,
String password)
throws AgoApiException,
AgoVersionUnsupportedException
host - The host name (or Internet address) of the server to be
contactedport - The port number on which the naming server on the specified
host is listeningrmiPort - The RMI port number on which the naming server on the specified
host is listeningusername - The user name for login to the serverpassword - The password for login to the serverpublic static File getApplicationRoot()
public static void checkInitNameSpace()
throws Exception
|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||