|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.AbstractInvoker
org.jboss.remoting.ServerInvoker
org.jboss.remoting.transport.rmi.RMIServerInvoker
public class RMIServerInvoker
RMIServerInvoker
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.remoting.ServerInvoker |
---|
ServerInvoker.InvalidStateException |
Nested classes/interfaces inherited from class org.jboss.remoting.AbstractInvoker |
---|
AbstractInvoker.CallbackLocatorHolder |
Field Summary | |
---|---|
static int |
BACKLOG_DEFAULT
Default for how many connections are queued. |
static int |
DEFAULT_REGISTRY_PORT
Default port on which rmi registry will be started. |
static java.lang.String |
REGISTRY_PORT_KEY
Key for port on which rmi registry should be started on. |
Fields inherited from class org.jboss.remoting.AbstractInvoker |
---|
classbyteloader, configuration, localServerLocators, locator, passConfigMapToMarshalFactory, serializationType, socketFactory, socketFactoryCreatedFromSSLParameters |
Constructor Summary | |
---|---|
RMIServerInvoker(InvokerLocator locator)
|
|
RMIServerInvoker(InvokerLocator locator,
java.util.Map configuration)
|
Method Summary | |
---|---|
void |
destroy()
destroy the RMI Server Invoker, which will unexport the RMI server |
protected void |
finalize()
|
protected java.lang.String |
getDefaultDataType()
|
protected javax.net.SocketFactory |
getDefaultSocketFactory()
|
protected java.rmi.server.RMIClientSocketFactory |
getRMIClientSocketFactory(java.lang.String clientConnectHost)
|
java.rmi.Remote |
getStub()
|
boolean |
isTransportBiDirectional()
returns true if the transport is bi-directional in nature, for example, SOAP in unidirectional and SOCKETs are bi-directional (unless behind a firewall for example). |
void |
start()
Subclasses should override to provide any specific start logic. |
java.lang.Object |
transport(java.lang.Object invocation)
transport a buffer via RMI |
Methods inherited from class org.jboss.remoting.AbstractInvoker |
---|
addClientLocator, createSocketFactory, getClassLoader, getClientLocator, getClientLocators, getLocator, getSerializationType, getSocketFactory, isCompleteSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory, wrapSocketFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BACKLOG_DEFAULT
public static final int DEFAULT_REGISTRY_PORT
public static final java.lang.String REGISTRY_PORT_KEY
Constructor Detail |
---|
public RMIServerInvoker(InvokerLocator locator)
public RMIServerInvoker(InvokerLocator locator, java.util.Map configuration)
Method Detail |
---|
public void start() throws java.io.IOException
ServerInvoker
start
in interface ServerInvokerMBean
start
in class ServerInvoker
java.io.IOException
protected java.rmi.server.RMIClientSocketFactory getRMIClientSocketFactory(java.lang.String clientConnectHost)
protected javax.net.SocketFactory getDefaultSocketFactory()
protected java.lang.String getDefaultDataType()
getDefaultDataType
in class ServerInvoker
public void destroy()
destroy
in interface ServerInvokerMBean
destroy
in class ServerInvoker
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public boolean isTransportBiDirectional()
isTransportBiDirectional
in interface ServerInvokerMBean
public final java.rmi.Remote getStub()
public java.lang.Object transport(java.lang.Object invocation) throws java.rmi.RemoteException, java.io.IOException
RMIServerInvokerInf
transport
in interface RMIServerInvokerInf
java.rmi.RemoteException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |