Package org.glassfish.config.support
Interface TargetValidator
-
- All Known Implementing Classes:
CommandTarget
public interface TargetValidator
a extensible mechanism to define new configuration targets- Author:
- Jerome Dochez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Returns a internalized aware string describing the target typeboolean
isValid(org.glassfish.hk2.api.ServiceLocator habitat, String target)
returns true if the passed target parameter value is a valid identifier of a target instance.
-
-
-
Method Detail
-
isValid
boolean isValid(org.glassfish.hk2.api.ServiceLocator habitat, String target)
returns true if the passed target parameter value is a valid identifier of a target instance.- Parameters:
habitat
- the habitat where to lookup all the target instancestarget
- the target identifier to check- Returns:
- true if target is a valid identifier of a target instance
-
getDescription
String getDescription()
Returns a internalized aware string describing the target type- Returns:
- a type description
-
-