Java Platform 1.2

java.beans.beancontext
Class BeanContextServiceAvailableEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.beans.beancontext.BeanContextEvent
              |
              +--java.beans.beancontext.BeanContextServiceAvailableEvent

public class BeanContextServiceAvailableEvent
extends BeanContextEvent

This event type is used by the BeanContextServicesListener in order to identify the service being registered.

See Also:
Serialized Form

Field Summary
protected  Class serviceClass
           
 
Fields inherited from class java.beans.beancontext.BeanContextEvent
propagatedFrom
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BeanContextServiceAvailableEvent(BeanContextServices bcs, Class sc)
          construct a BeanContextServiceEvent
 
Method Summary
 Iterator getCurrentServiceSelectors()
           
 Class getServiceClass()
          get the service class that is the subject of this notification
 BeanContextServices getSourceAsBeanContextServices()
          get the source as a reference of type BeanContextServices
 
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

serviceClass

protected Class serviceClass
Constructor Detail

BeanContextServiceAvailableEvent

public BeanContextServiceAvailableEvent(BeanContextServices bcs,
                                        Class sc)
construct a BeanContextServiceEvent
Method Detail

getSourceAsBeanContextServices

public BeanContextServices getSourceAsBeanContextServices()
get the source as a reference of type BeanContextServices

getServiceClass

public Class getServiceClass()
get the service class that is the subject of this notification

getCurrentServiceSelectors

public Iterator getCurrentServiceSelectors()
Returns:
the current selectors available from the service

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.