public class OptionalComponentParameter
extends BasicComponentParameter
This class is a hack of pico container... it should be used with care.
| Constructor and Description |
|---|
OptionalComponentParameter() |
OptionalComponentParameter(Object componentKey) |
| Modifier and Type | Method and Description |
|---|---|
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. |
public OptionalComponentParameter()
public OptionalComponentParameter(Object componentKey)
public boolean isResolvable(PicoContainer container,
ComponentAdapter adapter,
Class expectedType)
null.isResolvable in interface ParameterisResolvable in class BasicComponentParameterCopyright © 1996–2019 Geotools. All rights reserved.