JavaTM 2 Platform
Standard Edition

Class 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
Fields inherited from class java.util.EventObject
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


protected Class serviceClass
Constructor Detail


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


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


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


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

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.