com.opensymphony.xwork.interceptor.component
Class DefaultComponentManager
java.lang.Object
com.opensymphony.xwork.interceptor.component.DefaultComponentManager
- All Implemented Interfaces:
- ComponentManager, Serializable
- public class DefaultComponentManager
- extends Object
- implements ComponentManager, Serializable
- Version:
- $Revision: 1.8 $
- Author:
- joew@thoughtworks.com, $Author: jcarreira $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultComponentManager
public DefaultComponentManager()
getComponent
public Object getComponent(Class enablerType)
- Specified by:
getComponent
in interface ComponentManager
setFallback
public void setFallback(ComponentManager fallback)
- Specified by:
setFallback
in interface ComponentManager
addEnabler
public void addEnabler(Class component,
Class enablerType)
- Specified by:
addEnabler
in interface ComponentManager
dispose
public void dispose()
- Specified by:
dispose
in interface ComponentManager
initializeObject
public void initializeObject(Object obj)
- Specified by:
initializeObject
in interface ComponentManager
registerInstance
public void registerInstance(Class componentType,
Object instance)
- Specified by:
registerInstance
in interface ComponentManager
getComponentInstance
public Object getComponentInstance(Class componentType)
- Specified by:
getComponentInstance
in interface ComponentManager