Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 service| Method Detail |
|---|
public BeanContextServices getSourceAsBeanContextServices()
BeanContextServices.
public Class getServiceClass()
Class reference to the newly available servicepublic Iterator getCurrentServiceSelectors()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 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.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.