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

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

JavaTM 2 Platform
Standard Edition

java.beans.beancontext
Class BeanContextServicesSupport.BCSSProxyServiceProvider

java.lang.Object
  |
  +--java.beans.beancontext.BeanContextServicesSupport.BCSSProxyServiceProvider
Enclosing class:
BeanContextServicesSupport

protected class BeanContextServicesSupport.BCSSProxyServiceProvider
extends Object
implements BeanContextServiceProvider, BeanContextServiceRevokedListener


Method Summary
 Iterator getCurrentServiceSelectors(BeanContextServices bcs, Class serviceClass)
           
 Object getService(BeanContextServices bcs, Object requestor, Class serviceClass, Object serviceSelector)
          request an instance of a service,
 void releaseService(BeanContextServices bcs, Object requestor, Object service)
          release the service
 void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
          The service named has been revoked.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getService

public Object getService(BeanContextServices bcs,
                         Object requestor,
                         Class serviceClass,
                         Object serviceSelector)
Description copied from interface: BeanContextServiceProvider
request an instance of a service,
Specified by:
getService in interface BeanContextServiceProvider
Tags copied from interface: BeanContextServiceProvider
Parameters:
requestor - The object requesting the service
serviceClass - The service requested
serviceSelector - Additional parameterisation of the service

releaseService

public void releaseService(BeanContextServices bcs,
                           Object requestor,
                           Object service)
Description copied from interface: BeanContextServiceProvider
release the service
Specified by:
releaseService in interface BeanContextServiceProvider

getCurrentServiceSelectors

public Iterator getCurrentServiceSelectors(BeanContextServices bcs,
                                           Class serviceClass)
Specified by:
getCurrentServiceSelectors in interface BeanContextServiceProvider
Tags copied from interface: BeanContextServiceProvider
Returns:
the current service selectors for the specified serviceClass

serviceRevoked

public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
Description copied from interface: BeanContextServiceRevokedListener
The service named has been revoked. getService requests for this service will no longer be satisifed.
Specified by:
serviceRevoked in interface BeanContextServiceRevokedListener

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.