java.beans.beancontext

Class BeanContextServicesSupport.BCSSProxyServiceProvider

Enclosing Class:
BeanContextServicesSupport
Implemented Interfaces:
BeanContextServiceProvider, BeanContextServiceRevokedListener, EventListener

protected class BeanContextServicesSupport.BCSSProxyServiceProvider
extends Object
implements BeanContextServiceProvider, BeanContextServiceRevokedListener

Method Summary

Iterator<E>
getCurrentServiceSelectors(BeanContextServices bcs, Class<T> serviceClass)
Object
getService(BeanContextServices bcs, Object requestor, Class<T> serviceClass, Object serviceSelector)
void
releaseService(BeanContextServices bcs, Object requestor, Object service)
void
serviceRevoked(BeanContextServiceRevokedEvent bcsre)

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

getCurrentServiceSelectors

public Iterator<E> getCurrentServiceSelectors(BeanContextServices bcs,
                                           Class<T> serviceClass)
Specified by:
getCurrentServiceSelectors in interface BeanContextServiceProvider

getService

public Object getService(BeanContextServices bcs,
                         Object requestor,
                         Class<T> serviceClass,
                         Object serviceSelector)
Specified by:
getService in interface BeanContextServiceProvider

releaseService

public void releaseService(BeanContextServices bcs,
                           Object requestor,
                           Object service)
Specified by:
releaseService in interface BeanContextServiceProvider

serviceRevoked

public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
Specified by:
serviceRevoked in interface BeanContextServiceRevokedListener