| org.geotools.xml.OptionalComponentParameter
OptionalComponentParameter | public class OptionalComponentParameter extends BasicComponentParameter (Code) | | A pico container "parameter" which allows one to make setter injection
optional.
This class is a hack of pico container... it should be used with care.
author: Justin Deoliveira, The Open Planning Project |
Method Summary | |
public boolean | isResolvable(PicoContainer container, ComponentAdapter adapter, Class expectedType) Always return true, because since the setter is optional even its not
in teh container we can always resolve to null . |
OptionalComponentParameter | public OptionalComponentParameter()(Code) | | |
OptionalComponentParameter | public OptionalComponentParameter(Object componentKey)(Code) | | |
isResolvable | public boolean isResolvable(PicoContainer container, ComponentAdapter adapter, Class expectedType)(Code) | | Always return true, because since the setter is optional even its not
in teh container we can always resolve to null .
|
|
|