|
Java™ Platform Standard Ed. 6 |
|||||||||
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
public class 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()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.