站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class BeanContextServiceAvailableEvent - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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

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.