public interface PatternListener<PATTERN extends ResourcePattern<?>>
|Modifier and Type||Method and Description|
Availability callback issued by the framework whenever a new match for the requested pattern is found
Unavailability callback issued by the framework whenever a reported pattern match became invalid for some reason.
void patternAvailable(PATTERN pattern)
pattern- the newly-found match for the pattern.
void patternUnavailable(PATTERN pattern)
pattern- the pattern match that became unavailable.