org.apache.geronimo.core.service
Interface RPCContainer

All Superinterfaces:
Component, Container
All Known Implementing Classes:
SimpleRPCContainer

public interface RPCContainer
extends Container

Version:
$Revision: 1.4 $ $Date: 2004/03/10 09:58:42 $

Method Summary
 javax.management.ObjectName getPlugin(String logicalPluginName)
          Get the JMX object name of the logical plugin.
 Object getPluginObject(String logicalPluginName)
          Deprecated. Switch plugin to a JMX object an use 'ObjectName getPlugin(String name)' instead
 InvocationResult invoke(Invocation invocation)
           
 void putPlugin(String logicalPluginName, javax.management.ObjectName objectName)
          Puts the objectName in the container.
 void putPluginObject(String logicalPluginName, Object plugin)
          Deprecated. Switch plugin to a JMX object an use 'void putPlugin(String name, ObjectName objectName)' instead
 
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
 

Method Detail

invoke

public InvocationResult invoke(Invocation invocation)
                        throws Throwable
Throws:
Throwable

getPlugin

public javax.management.ObjectName getPlugin(String logicalPluginName)
Get the JMX object name of the logical plugin.

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 void putPlugin(String logicalPluginName,
                      javax.management.ObjectName objectName)
Puts the objectName in the container.

Parameters:
logicalPluginName - the logical name of the plugin to set
objectName - the JMX object name to set

getPluginObject

public Object getPluginObject(String logicalPluginName)
Deprecated. Switch plugin to a JMX object an use 'ObjectName getPlugin(String name)' instead

Gets the named plugin as an Object.

Parameters:
logicalPluginName - the name of the plugin to get
Returns:
the actual plugin object

putPluginObject

public void putPluginObject(String logicalPluginName,
                            Object plugin)
Deprecated. Switch plugin to a JMX object an use 'void putPlugin(String name, ObjectName objectName)' instead

Puts the named plugin Object in the container.

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.