|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jms.client.net.SharedORB
Shared ORB instance.
| Fields inherited from interface org.exolab.jms.net.orb.ORB |
PROVIDER_URI, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL |
| Method Summary | |
void |
addCallerListener(java.lang.String uri,
org.exolab.jms.net.connector.CallerListener listener)
Register a caller event listener. |
void |
addRoute(java.lang.String uri,
java.lang.String toURI)
Add a route for exported objects. |
org.exolab.jms.net.proxy.Proxy |
exportObject(java.lang.Object object)
Export an object on the default URI. |
org.exolab.jms.net.proxy.Proxy |
exportObject(java.lang.Object object,
java.rmi.server.ObjID objID)
Export an object with a well known identifier on the default URI. |
org.exolab.jms.net.proxy.Proxy |
exportObject(java.lang.Object object,
java.rmi.server.ObjID objID,
java.lang.String uri)
Export an object with a well known identifier on a specific URI. |
org.exolab.jms.net.proxy.Proxy |
exportObject(java.lang.Object object,
java.lang.String uri)
Export an object on a specific URI. |
org.exolab.jms.net.proxy.Proxy |
exportObjectTo(java.lang.Object object)
Export an object to the current remote caller. |
org.exolab.jms.net.proxy.Proxy |
exportObjectTo(java.lang.Object object,
java.lang.String uri)
Export an object to a specific URI. |
org.exolab.jms.net.proxy.Proxy |
exportObjectTo(java.lang.Object object,
java.lang.String uri,
java.lang.String principal,
java.lang.String credentials)
Export an object to a specific URI. |
org.exolab.jms.net.connector.Caller |
getCaller()
Returns the current caller. |
static org.exolab.jms.net.orb.ORB |
getInstance()
Returns the singleton ORB instance. |
org.exolab.jms.net.registry.LocalRegistry |
getRegistry()
Returns a reference to the registry service. |
org.exolab.jms.net.registry.Registry |
getRegistry(java.util.Map properties)
Returns a reference to a remote registry service. |
void |
removeCallerListener(java.lang.String uri,
org.exolab.jms.net.connector.CallerListener listener)
Deregister a caller event listener. |
void |
shutdown()
Shuts down the ORB. |
void |
unexportObject(java.lang.Object object)
Unexport an object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void addRoute(java.lang.String uri,
java.lang.String toURI)
throws java.rmi.RemoteException
addRoute in interface org.exolab.jms.net.orb.ORBuri - the URI to routetoURI - the URI to route tojava.rmi.RemoteException - for any error
public org.exolab.jms.net.registry.LocalRegistry getRegistry()
throws java.rmi.RemoteException
getRegistry in interface org.exolab.jms.net.orb.ORBjava.rmi.RemoteException - if the service cannot be exported
public org.exolab.jms.net.registry.Registry getRegistry(java.util.Map properties)
throws java.rmi.RemoteException
getRegistry in interface org.exolab.jms.net.orb.ORBproperties - the connection properties. May be null.java.rmi.RemoteException - for any error
public org.exolab.jms.net.proxy.Proxy exportObject(java.lang.Object object)
throws java.rmi.server.ExportException,
java.rmi.StubNotFoundException
exportObject in interface org.exolab.jms.net.orb.ORBobject - the object to exportjava.rmi.server.ExportException - if the object cannot be exportedjava.rmi.StubNotFoundException - if the proxy class cannot be found
public org.exolab.jms.net.proxy.Proxy exportObject(java.lang.Object object,
java.lang.String uri)
throws java.rmi.server.ExportException,
java.rmi.StubNotFoundException
exportObject in interface org.exolab.jms.net.orb.ORBobject - the object to exporturi - the URI via which connections to the object are made. If
null, the default URI is used.java.rmi.server.ExportException - if the object cannot be exportedjava.rmi.StubNotFoundException - if the proxy class cannot be found
public org.exolab.jms.net.proxy.Proxy exportObject(java.lang.Object object,
java.rmi.server.ObjID objID)
throws java.rmi.server.ExportException,
java.rmi.StubNotFoundException
exportObject in interface org.exolab.jms.net.orb.ORBobject - the object to exportobjID - the well known object identifierjava.rmi.server.ExportException - if the object cannot be exportedjava.rmi.StubNotFoundException - if the proxy class cannot be found
public org.exolab.jms.net.proxy.Proxy exportObject(java.lang.Object object,
java.rmi.server.ObjID objID,
java.lang.String uri)
throws java.rmi.server.ExportException,
java.rmi.StubNotFoundException
exportObject in interface org.exolab.jms.net.orb.ORBobject - the object to exportobjID - the well known object identifieruri - the URI via which connections to the object are madejava.rmi.server.ExportException - if the object cannot be exportedjava.rmi.StubNotFoundException - if the proxy class cannot be found
public org.exolab.jms.net.proxy.Proxy exportObjectTo(java.lang.Object object)
throws java.rmi.server.ExportException,
java.rmi.StubNotFoundException
exportObjectTo in interface org.exolab.jms.net.orb.ORBobject - the object to exportjava.rmi.server.ExportException - if the object cannot be exportedjava.rmi.StubNotFoundException - if the proxy class cannot be found
public org.exolab.jms.net.proxy.Proxy exportObjectTo(java.lang.Object object,
java.lang.String uri)
throws java.rmi.server.ExportException,
java.rmi.StubNotFoundException
exportObjectTo in interface org.exolab.jms.net.orb.ORBobject - the object to exporturi - the target URI from which connections to the object are
made.java.rmi.server.ExportException - if the object cannot be exportedjava.rmi.StubNotFoundException - if the proxy class cannot be found
public org.exolab.jms.net.proxy.Proxy exportObjectTo(java.lang.Object object,
java.lang.String uri,
java.lang.String principal,
java.lang.String credentials)
throws java.rmi.server.ExportException,
java.rmi.StubNotFoundException
exportObjectTo in interface org.exolab.jms.net.orb.ORBobject - the object to exporturi - the target URI from which connections to the object
are made.principal - the security principal. May be nullcredentials - the security credentials. May be nulljava.rmi.server.ExportException - if the object cannot be exportedjava.rmi.StubNotFoundException - if the proxy class cannot be found
public void unexportObject(java.lang.Object object)
throws java.rmi.NoSuchObjectException
unexportObject in interface org.exolab.jms.net.orb.ORBobject - the object to exportjava.rmi.NoSuchObjectException - if the object isn't exported
public org.exolab.jms.net.connector.Caller getCaller()
throws java.rmi.RemoteException
getCaller in interface org.exolab.jms.net.orb.ORBnull if no call is in
progressjava.rmi.RemoteException - for any error
public void addCallerListener(java.lang.String uri,
org.exolab.jms.net.connector.CallerListener listener)
throws java.rmi.RemoteException
addCallerListener in interface org.exolab.jms.net.orb.ORBuri - the remote URI to listen onlistener - the listener to notifyjava.rmi.RemoteException - for any error
public void removeCallerListener(java.lang.String uri,
org.exolab.jms.net.connector.CallerListener listener)
throws java.rmi.RemoteException
removeCallerListener in interface org.exolab.jms.net.orb.ORBuri - the remote URI the listener is listening for events onlistener - the listener to removejava.rmi.RemoteException - for any error
public void shutdown()
throws java.rmi.RemoteException
shutdown in interface org.exolab.jms.net.orb.ORBjava.rmi.RemoteException - for any error
public static org.exolab.jms.net.orb.ORB getInstance()
throws java.rmi.RemoteException
java.rmi.RemoteException - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||