com.google.code.rees.scope.container
Class AbstractScopeContainer
java.lang.Object
com.google.code.rees.scope.container.AbstractScopeContainer
- All Implemented Interfaces:
- ScopeContainer, Serializable
- Direct Known Subclasses:
- StrutsScopeContainer
public abstract class AbstractScopeContainer
- extends Object
- implements ScopeContainer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractScopeContainer
public AbstractScopeContainer()
getComponent
public <T> T getComponent(Class<T> clazz)
- Specified by:
getComponent in interface ScopeContainer
getProperty
public <T> T getProperty(Class<T> clazz,
String name)
- Specified by:
getProperty in interface ScopeContainer
inject
protected void inject(Object component)
getPropertyFromPrimaryContainer
protected abstract <T> T getPropertyFromPrimaryContainer(Class<T> clazz,
String name)
getComponentFromPrimaryContainer
protected abstract <T> T getComponentFromPrimaryContainer(Class<T> clazz)
Copyright © 2012-2013. All Rights Reserved.