Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.beans.beancontext
Class BeanContextServiceAvailableEvent  view BeanContextServiceAvailableEvent download BeanContextServiceAvailableEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.beans.beancontext.BeanContextEvent
          extended byjava.beans.beancontext.BeanContextServiceAvailableEvent
All Implemented Interfaces:
java.io.Serializable

public class BeanContextServiceAvailableEvent
extends BeanContextEvent

Event fired when new services become available through a BeanContextServices.

Since:
JDK1.2

Field Summary
private static long serialVersionUID
           
protected  java.lang.Class serviceClass
          The Class representing the service which is now available.
 
Fields inherited from class java.beans.beancontext.BeanContextEvent
propagatedFrom
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BeanContextServiceAvailableEvent(BeanContextServices services, java.lang.Class serviceClass)
          Create a new service available event.
 
Method Summary
 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.
 
Methods inherited from class java.beans.beancontext.BeanContextEvent
getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFrom
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

serviceClass

protected java.lang.Class serviceClass
The Class representing the service which is now available.

Constructor Detail

BeanContextServiceAvailableEvent

public BeanContextServiceAvailableEvent(BeanContextServices services,
                                        java.lang.Class serviceClass)
Create a new service available event.

Method Detail

getCurrentServiceSelectors

public java.util.Iterator getCurrentServiceSelectors()
Get the current service selectors of the service class. This is identical to getSourceAsBeanContextServices().getCurrentServiceSelectors(getServiceClass())


getServiceClass

public java.lang.Class getServiceClass()
Get the newly available service class.


getSourceAsBeanContextServices

public BeanContextServices getSourceAsBeanContextServices()
Get the BeanContextServices through which the new service is available.