java.beans.beancontext
public class BeanContextServiceAvailableEvent extends BeanContextEvent
BeanContextServices
.
Since: JDK1.2
See Also: BeanContextServicesListener
Field Summary | |
---|---|
protected Class | serviceClass
The Class representing the service which is now
available. |
Constructor Summary | |
---|---|
BeanContextServiceAvailableEvent(BeanContextServices services, Class serviceClass)
Create a new service available event. |
Method Summary | |
---|---|
Iterator | getCurrentServiceSelectors()
Get the current service selectors of the service class.
|
Class | getServiceClass()
Get the newly available service class. |
BeanContextServices | getSourceAsBeanContextServices()
Get the BeanContextServices through which the new service is available. |
Class
representing the service which is now
available.Parameters: 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.
getSourceAsBeanContextServices().getCurrentServiceSelectors(getServiceClass())
Returns: the current service selectors of the service class.
Returns: the service class.
BeanContextServices
through which the new service is available.Returns: the BeanContextServices
through which the
new service is available.