com.hammurapi.config.runtime
Class InjectionConfig

java.lang.Object
  extended by com.hammurapi.config.runtime.FactoryConfig
      extended by com.hammurapi.config.runtime.InjectionConfig
All Implemented Interfaces:
Cloneable

public class InjectionConfig
extends FactoryConfig

Property injection parameter class.

Author:
Pavel Vlasov

Constructor Summary
InjectionConfig()
           
InjectionConfig(FactoryConfig factoryConfig, DestroyableSink destroyableSink)
           
 
Method Summary
 Set<String> getAlreadyInjected()
           
 DestroyableSink getDestroyableSink()
           
 Object getTarget()
           
 void setAlreadyInjected(Set<String> alreadyInjected)
           
 void setDestroyableSink(DestroyableSink destroyableSink)
           
 void setTarget(Object target)
          Sets injection target.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectionConfig

public InjectionConfig()

InjectionConfig

public InjectionConfig(FactoryConfig factoryConfig,
                       DestroyableSink destroyableSink)
Method Detail

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)