org.apache.geronimo.proxy
Class SimpleContainer
java.lang.Object
org.apache.geronimo.proxy.SimpleComponent
org.apache.geronimo.proxy.SimpleContainer
- All Implemented Interfaces:
- Component, Container, Serializable
- Direct Known Subclasses:
- SimpleRPCContainer
- public class SimpleContainer
- extends SimpleComponent
- implements Container
- Version:
- $Revision: 1.5 $ $Date: 2004/03/21 22:24:39 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleContainer
public SimpleContainer()
addComponent
public void addComponent(Component component)
- Description copied from interface:
Container
- Add a component to the set for a Container
- Specified by:
addComponent
in interface Container
- Parameters:
component
- - See Also:
Container.addComponent(org.apache.geronimo.core.service.Component)
getComponents
public List getComponents()
- Description copied from interface:
Container
- Get all the Components known to the Container
- Specified by:
getComponents
in interface Container
- Returns:
- an immutable List of Components
- See Also:
Container.getComponents()
removeComponent
public void removeComponent(Component component)
throws Exception
- Description copied from interface:
Container
- Remove a Component from the Container.
If the Component is not in the Container,
an Exception is thrown.
- Specified by:
removeComponent
in interface Container
- Parameters:
component
- the Component to remove
- Throws:
Exception
- if the Component cannot be removed- See Also:
Container.removeComponent(org.apache.geronimo.core.service.Component)
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.