|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.transporter.TransporterServer
The remoting server to expose the target POJO. This should be called on as a factory via static methods.
Constructor Summary | |
TransporterServer(InvokerLocator locator,
java.lang.Object target,
java.lang.String subsystem)
Creates a remoting server using the provided locator and subsytem and creating a TransporterHandler which takes the specified target object. |
Method Summary | |
static TransporterServer |
createTransporterServer(InvokerLocator locator,
java.lang.Object target)
Creates a remoting server based on given locator. |
static TransporterServer |
createTransporterServer(InvokerLocator locator,
java.lang.Object target,
java.lang.String subsystem)
Creates a remoting server based on given locator. |
static TransporterServer |
createTransporterServer(InvokerLocator locator,
java.lang.Object target,
java.lang.String subsystem,
boolean isClustered)
Creates a remoting server based on given locator. |
static TransporterServer |
createTransporterServer(java.lang.String locatorURI,
java.lang.Object target)
Creates a remoting server based on given locator. |
static TransporterServer |
createTransporterServer(java.lang.String locatorURI,
java.lang.Object target,
java.lang.String subsystem)
Creates a remoting server based on given locator. |
static TransporterServer |
createTransporterServer(java.lang.String locatorURI,
java.lang.Object target,
java.lang.String subsystem,
boolean isClustered)
Creates a remoting server based on given locator. |
void |
start()
Starts the remoting server. |
void |
stop()
Stops the remoting server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransporterServer(InvokerLocator locator, java.lang.Object target, java.lang.String subsystem) throws java.lang.Exception
locator
- target
- subsystem
-
java.lang.Exception
Method Detail |
public void start() throws java.lang.Exception
java.lang.Exception
public void stop()
public static TransporterServer createTransporterServer(InvokerLocator locator, java.lang.Object target, java.lang.String subsystem, boolean isClustered) throws java.lang.Exception
locator
- - specifies what transport, host and port binding, etc. to use by the remoting server.target
- - the target POJO to receive the method call upon getting remote invocation requests.subsystem
- - the name under which to register the handler within the remoting server. This must be
the fully qualified name of the interface for clients to use a the remote proxy to the target POJO. Otherwise,
clustering will not work, as this is the value used to identifiy remote POJOs on the client side. If not clustered,
this is not as critical, and simply use the fully qualified class name of the POJO if desired.isClustered
- - true indicates that would like this server to be considered available for
failover from clients calling on the same interface as exposed by the subsystem value. False will only allow
those client that explicitly targeting this server to make calls on it.
java.lang.Exception
public static TransporterServer createTransporterServer(java.lang.String locatorURI, java.lang.Object target, java.lang.String subsystem, boolean isClustered) throws java.lang.Exception
locatorURI
- - specifies what transport, host and port binding, etc. to use by the remoting server.target
- - the target POJO to receive the method call upon getting remote invocation requests.subsystem
- - the name under which to register the handler within the remoting server. This must be
the fully qualified name of the interface for clients to use a the remote proxy to the target POJO. Otherwise,
clustering will not work, as this is the value used to identifiy remote POJOs on the client side. If not clustered,
this is not as critical, and simply use the fully qualified class name of the POJO if desired.isClustered
- - true indicates that would like this server to be considered available for
failover from clients calling on the same interface as exposed by the subsystem value. False will only allow
those client that explicitly targeting this server to make calls on it.
java.lang.Exception
public static TransporterServer createTransporterServer(InvokerLocator locator, java.lang.Object target, java.lang.String subsystem) throws java.lang.Exception
locator
- - specifies what transport, host and port binding, etc. to use by the remoting server.target
- - the target POJO to receive the method call upon getting remote invocation requests.subsystem
- - the name under which to register the handler within the remoting server. Can
simply use the fully qualified class name of the POJO if desired.
java.lang.Exception
public static TransporterServer createTransporterServer(java.lang.String locatorURI, java.lang.Object target, java.lang.String subsystem) throws java.lang.Exception
locatorURI
- - specifies what transport, host and port binding, etc. to use by the remoting server.target
- - the target POJO to receive the method call upon getting remote invocation requests.subsystem
- - the name under which to register the handler within the remoting server. Can
simply use the fully qualified class name of the POJO if desired.
java.lang.Exception
public static TransporterServer createTransporterServer(InvokerLocator locator, java.lang.Object target) throws java.lang.Exception
locator
- - specifies what transport, host and port binding, etc. to use by the remoting server.target
- - the target POJO to receive the method call upon getting remote invocation requests.
java.lang.Exception
public static TransporterServer createTransporterServer(java.lang.String locatorURI, java.lang.Object target) throws java.lang.Exception
locatorURI
- - specifies what transport, host and port binding, etc. to use by the remoting server.target
- - the target POJO to receive the method call upon getting remote invocation requests.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |