|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.services.AbstractCaArrayServer
gov.nih.nci.caarray.services.external.v1_0.CaArrayServer
public final class CaArrayServer
Client-side representation of a caArray server, used to connect to and access a remote server.
Constructor Summary | |
---|---|
CaArrayServer(java.lang.String jndiUrl)
Creates a new instance configured to attach to the provided JNDI url. |
|
CaArrayServer(java.lang.String hostname,
int jndiPort)
Creates a new instance configured to attach to the provided hostname and port. |
Method Summary | |
---|---|
protected void |
executeServiceForCredentialCheck()
Execute some method in a remote EJB service that forces the authentication credentials to be checked. |
gov.nih.nci.caarray.services.external.v1_0.data.DataService |
getDataService()
|
gov.nih.nci.caarray.services.external.v1_0.search.SearchService |
getSearchService()
|
protected void |
lookupServices(javax.naming.Context ctx)
Method called after obtaining a JNDI context from the remote EJB server. |
Methods inherited from class gov.nih.nci.caarray.services.AbstractCaArrayServer |
---|
connect, connect |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CaArrayServer(java.lang.String hostname, int jndiPort)
hostname
- hostname (or IP address) of the caArray server.jndiPort
- JNDI port of the caArray server.public CaArrayServer(java.lang.String jndiUrl)
jndiUrl
- the JNDI url, should be in the format jnp://hostname:portMethod Detail |
---|
protected void executeServiceForCredentialCheck()
executeServiceForCredentialCheck
in class AbstractCaArrayServer
protected void lookupServices(javax.naming.Context ctx) throws javax.naming.NamingException
lookupServices
in class AbstractCaArrayServer
ctx
- the JNDI context where remote EJB service references can be looked up
javax.naming.NamingException
- if there is an error looking up a remote EJB in the contextpublic gov.nih.nci.caarray.services.external.v1_0.search.SearchService getSearchService()
public gov.nih.nci.caarray.services.external.v1_0.data.DataService getDataService()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |