com.codemonster.surinam.core.framework
Class ServiceToFieldInjectionPair
java.lang.Object
com.codemonster.surinam.core.framework.ServiceToFieldInjectionPair
public class ServiceToFieldInjectionPair
- extends Object
This is a mapping object that is used for temporarily storing information teased out of
annotations and kept in a blueprint. Even though we are injecting into a field, we require
explicit specification of the method to use for the injection as this keeps the coupling
loose as opposed to a specific pattern that must be followed.
|
Constructor Summary |
ServiceToFieldInjectionPair(String serviceName,
String methodName)
Since we expect that these are temporary storage objects, we allow population of the data
fields from the constructor as a convenience. |
ServiceToFieldInjectionPair
public ServiceToFieldInjectionPair(String serviceName,
String methodName)
- Since we expect that these are temporary storage objects, we allow population of the data
fields from the constructor as a convenience.
- Parameters:
serviceName - The name of the registered service we want injected.methodName - The name of the injection method to use.
getServiceName
public String getServiceName()
setServiceName
public void setServiceName(String serviceName)
getmethodName
public String getmethodName()
setmethodName
public void setmethodName(String methodName)
Copyright © 2010. All Rights Reserved.