public class BeanContextServiceAvailableEvent extends BeanContextEvent
BeanContextServices.BeanContextServicesListener,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class |
serviceClass
The
Class representing the service which is now
available. |
propagatedFrom| Constructor and Description |
|---|
BeanContextServiceAvailableEvent(BeanContextServices services,
java.lang.Class serviceClass)
Create a new service available event.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator |
getCurrentServiceSelectors()
Get the current service selectors of the service class.
|
java.lang.Class |
getServiceClass()
Get the newly available service class.
|
BeanContextServices |
getSourceAsBeanContextServices()
Get the
BeanContextServices through which the new service is available. |
getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFromprotected java.lang.Class serviceClass
Class representing the service which is now
available.public BeanContextServiceAvailableEvent(BeanContextServices services, java.lang.Class serviceClass)
services - the BeanContextServices through
which the service is available. This is also the source
of the event.serviceClass - the service class that is now available.public java.util.Iterator getCurrentServiceSelectors()
getSourceAsBeanContextServices().getCurrentServiceSelectors(getServiceClass())public java.lang.Class getServiceClass()
public BeanContextServices getSourceAsBeanContextServices()
BeanContextServices through which the new service is available.BeanContextServices through which the
new service is available.