org.jboss.invocation.jrmp.server
Interface JRMPProxyFactoryMBean

All Superinterfaces:
Service (src) , ServiceMBean (src)
All Known Subinterfaces:
ProxyFactoryHAMBean (src)
All Known Implementing Classes:
JRMPProxyFactory (src) , ProxyFactoryHA (src)

public interface JRMPProxyFactoryMBean
extends ServiceMBean (src)

An mbean interface for a proxy factory that can expose any interface with RMI compatible semantics for access to remote clients using JRMP as the transport protocol.


Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 org.w3c.dom.Element getClientInterceptors()
          Get the proxy client side interceptor configuration
 java.lang.Class getExportedInterface()
          Get the RMI compatible interface that the JRMPInvokerProxy implements
 java.lang.Class[] getExportedInterfaces()
          Get the RMI compatible interface that the JRMPInvokerProxy implements
 ObjectName (src) getInvokerName()
          Get the server side JRMPInvoker mbean that will be used as the RMI/JRMP transport handler.
 boolean getInvokeTargetMethod()
           
 java.lang.String getJndiName()
          Get the JNDI name under which the HttpInvokerProxy will be bound
 java.lang.Object getProxy()
          Get the proxy instance created by the factory.
 ObjectName (src) getTargetName()
          Get the server side mbean that exposes the invoke operation for the exported interface
 java.lang.Object invoke(Invocation (src)  mi)
           
 void setClientInterceptors(org.w3c.dom.Element config)
          Set the proxy client side interceptor configuration
 void setExportedInterface(java.lang.Class exportedInterface)
          Set the RMI compatible interface that the JRMPInvokerProxy implements
 void setExportedInterfaces(java.lang.Class[] exportedInterface)
          Set the RMI compatible interface that the JRMPInvokerProxy implements
 void setInvokerName(ObjectName (src)  jmxInvokerName)
          Set the server side JRMPInvoker mbean that will be used as the RMI/JRMP transport handler.
 void setInvokeTargetMethod(boolean invokeTargetMethod)
           
 void setJndiName(java.lang.String jndiName)
          Set the JNDI name under which the HttpInvokerProxy will be bound
 void setTargetName(ObjectName (src)  targetName)
          Set the server side mbean that exposes the invoke operation for the exported interface
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Method Detail

getInvokerName

public ObjectName (src)  getInvokerName()
Get the server side JRMPInvoker mbean that will be used as the RMI/JRMP transport handler.


setInvokerName

public void setInvokerName(ObjectName (src)  jmxInvokerName)
Set the server side JRMPInvoker mbean that will be used as the RMI/JRMP transport handler.


getTargetName

public ObjectName (src)  getTargetName()
Get the server side mbean that exposes the invoke operation for the exported interface


setTargetName

public void setTargetName(ObjectName (src)  targetName)
Set the server side mbean that exposes the invoke operation for the exported interface


getJndiName

public java.lang.String getJndiName()
Get the JNDI name under which the HttpInvokerProxy will be bound


setJndiName

public void setJndiName(java.lang.String jndiName)
Set the JNDI name under which the HttpInvokerProxy will be bound


getExportedInterface

public java.lang.Class getExportedInterface()
Get the RMI compatible interface that the JRMPInvokerProxy implements


setExportedInterface

public void setExportedInterface(java.lang.Class exportedInterface)
Set the RMI compatible interface that the JRMPInvokerProxy implements


getExportedInterfaces

public java.lang.Class[] getExportedInterfaces()
Get the RMI compatible interface that the JRMPInvokerProxy implements


setExportedInterfaces

public void setExportedInterfaces(java.lang.Class[] exportedInterface)
Set the RMI compatible interface that the JRMPInvokerProxy implements


getClientInterceptors

public org.w3c.dom.Element getClientInterceptors()
Get the proxy client side interceptor configuration

Returns:
the proxy client side interceptor configuration

setClientInterceptors

public void setClientInterceptors(org.w3c.dom.Element config)
                           throws java.lang.Exception
Set the proxy client side interceptor configuration

Parameters:
config - the proxy client side interceptor configuration
Throws:
java.lang.Exception

getInvokeTargetMethod

public boolean getInvokeTargetMethod()
Returns:
whether invocations go to the target method instead of invoke(Invocation mi)

setInvokeTargetMethod

public void setInvokeTargetMethod(boolean invokeTargetMethod)
Parameters:
invokeTargetMethod - whether invocations should go to the target method instead of invoke(Invocation mi)

getProxy

public java.lang.Object getProxy()
Get the proxy instance created by the factory.


invoke

public java.lang.Object invoke(Invocation (src)  mi)
                        throws java.lang.Exception
Throws:
java.lang.Exception