@Contract public interface InstanceLifecycleListener
This listener is concerned with instances of services, whereas the
ValidationService
is concerned with the descriptors for services.
Modifier and Type | Method and Description |
---|---|
Filter |
getFilter()
This returns a filter that tells the system whether a particular descriptor should be handled by this lifecycle
listener.
|
void |
lifecycleEvent(InstanceLifecycleEvent lifecycleEvent)
This method will be called when any lifecycle event occurs.
|
Filter getFilter()
void lifecycleEvent(InstanceLifecycleEvent lifecycleEvent)
lifecycleEvent
- The event that has occurred, will not be nullCopyright © 2014 Oracle Corporation. All rights reserved.