|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--java.beans.beancontext.BeanContextEvent | +--java.beans.beancontext.BeanContextServiceAvailableEvent
This event type is used by the BeanContextServicesListener in order to identify the service being registered.
Field Summary | |
protected Class |
serviceClass
A Class reference to the newly available service |
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 BeanContextAvailableServiceEvent . |
Method Summary | |
Iterator |
getCurrentServiceSelectors()
Gets the list of service dependent selectors. |
Class |
getServiceClass()
Gets the service class that is the subject of this notification. |
BeanContextServices |
getSourceAsBeanContextServices()
Gets 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
Class
reference to the newly available service
Constructor Detail |
public BeanContextServiceAvailableEvent(BeanContextServices bcs, Class sc)
BeanContextAvailableServiceEvent
.
bcs
- The context in which the service has become availablesc
- A Class
reference to the newly available serviceMethod Detail |
public BeanContextServices getSourceAsBeanContextServices()
BeanContextServices
.
public Class getServiceClass()
Class
reference to the newly available servicepublic Iterator getCurrentServiceSelectors()
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.