org.apache.geronimo.proxy
Class SimpleRPCContainer

java.lang.Object
  extended byorg.apache.geronimo.proxy.SimpleComponent
      extended byorg.apache.geronimo.proxy.SimpleContainer
          extended byorg.apache.geronimo.proxy.SimpleRPCContainer
All Implemented Interfaces:
Component, Container, RPCContainer, Serializable
Direct Known Subclasses:
ProxyContainer

public class SimpleRPCContainer
extends SimpleContainer
implements RPCContainer

Version:
$Revision: 1.6 $ $Date: 2004/03/10 09:58:43 $
See Also:
Serialized Form

Constructor Summary
SimpleRPCContainer(Interceptor firstInterceptor)
           
 
Method Summary
 javax.management.ObjectName getPlugin(String logicalPluginName)
          Get the JMX object name of the logical plugin.
 Object getPluginObject(String logicalPluginName)
          Gets the named plugin as an Object.
 InvocationResult invoke(Invocation invocation)
           
 void putPlugin(String logicalPluginName, javax.management.ObjectName objectName)
          Puts the objectName in the container.
 void putPluginObject(String logicalPluginName, Object plugin)
          Puts the named plugin Object in the container.
 
Methods inherited from class org.apache.geronimo.proxy.SimpleContainer
addComponent, getComponents, removeComponent
 
Methods inherited from class org.apache.geronimo.proxy.SimpleComponent
getContainer, getObjectName, setContainer, setObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.core.service.Container
addComponent, getComponents, removeComponent
 
Methods inherited from interface org.apache.geronimo.core.service.Component
getContainer, setContainer
 

Constructor Detail

SimpleRPCContainer

public SimpleRPCContainer(Interceptor firstInterceptor)
Method Detail

invoke

public final InvocationResult invoke(Invocation invocation)
                              throws Throwable
Specified by:
invoke in interface RPCContainer
Throws:
Throwable
See Also:
RPCContainer.invoke(org.apache.geronimo.core.service.Invocation)

getPlugin

public final javax.management.ObjectName getPlugin(String logicalPluginName)
Description copied from interface: RPCContainer
Get the JMX object name of the logical plugin.

Specified by:
getPlugin in interface RPCContainer
Parameters:
logicalPluginName - the logical name of the desired plugin
Returns:
the JMX object name associated with the logical plugin, or null if a name is not found

putPlugin

public final void putPlugin(String logicalPluginName,
                            javax.management.ObjectName objectName)
Description copied from interface: RPCContainer
Puts the objectName in the container.

Specified by:
putPlugin in interface RPCContainer
Parameters:
logicalPluginName - the logical name of the plugin to set
objectName - the JMX object name to set

getPluginObject

public final Object getPluginObject(String logicalPluginName)
Deprecated.  

Description copied from interface: RPCContainer
Gets the named plugin as an Object.

Specified by:
getPluginObject in interface RPCContainer
Parameters:
logicalPluginName - the name of the plugin to get
Returns:
the actual plugin object

putPluginObject

public final void putPluginObject(String logicalPluginName,
                                  Object plugin)
Deprecated.  

Description copied from interface: RPCContainer
Puts the named plugin Object in the container.

Specified by:
putPluginObject in interface RPCContainer
Parameters:
logicalPluginName - the name of the plugin to get
plugin - the plugin obect or null to remove an existing plugin


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.