站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

JRMPProxyFactoryMBean (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.invocation.jrmp.server
Interface JRMPProxyFactoryMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
JRMPProxyFactory

public interface JRMPProxyFactoryMBean
extends org.jboss.system.ServiceMBean

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.

Version:
$Revision: 1.4.6.1 $
Author:
Scott.Stark@jboss.org

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

Method Detail

getInvokerName

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


setInvokerName

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


getTargetName

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


setTargetName

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


getJndiName

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


setJndiName

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


getExportedInterface

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


setExportedInterface

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


getExportedInterfaces

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


setExportedInterfaces

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


getClientInterceptors

public Element getClientInterceptors()
Get the proxy client side interceptor configuration

Returns:
the proxy client side interceptor configuration

setClientInterceptors

public void setClientInterceptors(Element config)
                           throws Exception
Set the proxy client side interceptor configuration

Parameters:
config - the proxy client side interceptor configuration
Throws:
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 Object getProxy()
Get the proxy instance created by the factory.


invoke

public Object invoke(Invocation mi)
              throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.