org.jboss.remoting.transport.rmi
Class RMIServerInvoker
java.lang.Object
org.jboss.remoting.AbstractInvoker
org.jboss.remoting.ServerInvoker
org.jboss.remoting.transport.rmi.RMIServerInvoker
- All Implemented Interfaces:
- Invoker, Remote, RMIServerInvokerInf, ServerInvokerMBean
- public class RMIServerInvoker
- extends ServerInvoker
- implements RMIServerInvokerInf
RMIServerInvoker
- Version:
- $Revision: 1.13 $
- Author:
- Jeff Haynie, Tom Elrod
Methods inherited from class org.jboss.remoting.ServerInvoker |
addInvocationHandler, getConfiguration, getDataType, getInvocationHandler, getInvocationHandlers, getMBeanObjectName, getMBeanServer, getSupportedSubsystems, hasInvocationHandler, invoke, invoke, isStarted, postProcess, preProcess, removeInvocationHandler, setConfigration, setMBeanServer, start, stop |
DEFAULT_REGISTRY_PORT
public static final int DEFAULT_REGISTRY_PORT
- See Also:
- Constant Field Values
REGISTRY_PORT_KEY
public static final String REGISTRY_PORT_KEY
- See Also:
- Constant Field Values
RMIServerInvoker
public RMIServerInvoker(InvokerLocator locator)
throws RemoteException
RMIServerInvoker
public RMIServerInvoker(InvokerLocator locator,
Map configuration)
throws RemoteException
getDefaultDataType
protected String getDefaultDataType()
- Specified by:
getDefaultDataType
in class ServerInvoker
destroy
public void destroy()
- destroy the RMI Server Invoker, which will unexport the RMI server
- Specified by:
destroy
in interface ServerInvokerMBean
- Overrides:
destroy
in class ServerInvoker
finalize
protected void finalize()
throws Throwable
- Throws:
Throwable
isTransportBiDirectional
public 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).
- Specified by:
isTransportBiDirectional
in interface ServerInvokerMBean
- Returns:
getStub
public final RemoteStub getStub()
transport
public Object transport(Object invocation)
throws RemoteException,
IOException
- Description copied from interface:
RMIServerInvokerInf
- transport a buffer via RMI
- Specified by:
transport
in interface RMIServerInvokerInf
- Parameters:
invocation
-
- Returns:
-
- Throws:
RemoteException
IOException
Copyright © 2004 JBoss Inc. All Rights Reserved.