JBoss.org Community Documentation

3.6.2.4. The JRMPProxyFactory Service - Building Dynamic JRMP Proxies

The org.jboss.invocation.jrmp.server.JRMPProxyFactory MBean service is a proxy factory that can expose any interface with RMI compatible semantics for access to remote clients using JRMP as the transport.

The JRMPProxyFactory supports the following attributes:

  • InvokerName : The server side JRMPInvoker MBean service JMX ObjectName string that will handle the RMI/JRMP transport.

  • TargetName : The server side MBean that exposes the invoke(Invocation) JMX operation for the exported interface. This is used as the destination service for any invocations done through the proxy.

  • JndiName : The JNDI name under which the proxy will be bound.

  • ExportedInterface : The fully qualified class name of the interface that the proxy implements. This is the typed view of the proxy that the client uses for invocations.

  • ClientInterceptors : An XML fragment of interceptors/interceptor elements with each interceptor element body specifying the fully qualified class name of an org.jboss.proxy.Interceptor implementation to include in the proxy interceptor stack. The ordering of the interceptors/interceptor elements defines the order of the interceptors.