com.hammurapi.config.runtime
Class InjectionConfig
java.lang.Object
com.hammurapi.config.runtime.FactoryConfig
com.hammurapi.config.runtime.InjectionConfig
- All Implemented Interfaces:
- Cloneable
public class InjectionConfig
- extends FactoryConfig
Property injection parameter class.
- Author:
- Pavel Vlasov
| Methods inherited from class com.hammurapi.config.runtime.FactoryConfig |
addToObjectPath, clone, getClassLoader, getContext, getContextFactory, getContextUrl, getObjectPath, getProfilePath, getTokenSource, setClassLoader, setContext, setContextFactory, setContextUrl, setObjectPath, setProfilePath, setTokenSource |
InjectionConfig
public InjectionConfig()
InjectionConfig
public InjectionConfig(FactoryConfig factoryConfig,
DestroyableSink destroyableSink)
setTarget
public void setTarget(Object target)
- Sets injection target.
- Parameters:
target - Injection target.
getTarget
public Object getTarget()
- Returns:
- Injection target.
getAlreadyInjected
public Set<String> getAlreadyInjected()
- Returns:
- Names of properties already injected by lower profiles.
setAlreadyInjected
public void setAlreadyInjected(Set<String> alreadyInjected)
- Parameters:
alreadyInjected - Names of properties already injected by lower profiles.
getDestroyableSink
public DestroyableSink getDestroyableSink()
setDestroyableSink
public void setDestroyableSink(DestroyableSink destroyableSink)