protected class BeanContextServicesSupport.BCSSProxyServiceProvider extends java.lang.Object implements BeanContextServiceProvider, BeanContextServiceRevokedListener
BeanContextServiceProvider
interface by wrapping a BeanContextServices
. All services
registered in the BeanContextServices
are accessible via
this wrapper service provider.
BeanContextServicesSupport to access services provided by its parent context (if there is one).
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
getCurrentServiceSelectors(BeanContextServices bcs,
java.lang.Class serviceClass)
Throws
UnsupportedOperationException . |
java.lang.Object |
getService(BeanContextServices bcs,
java.lang.Object requestor,
java.lang.Class serviceClass,
java.lang.Object serviceSelector)
Throws
UnsupportedOperationException . |
void |
releaseService(BeanContextServices bcs,
java.lang.Object requestor,
java.lang.Object service)
Delegate to the wrapped
BeanContextServices . |
void |
serviceRevoked(BeanContextServiceRevokedEvent bcsre)
Throws
UnsupportedOperationException . |
public java.util.Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass)
UnsupportedOperationException
.getCurrentServiceSelectors
in interface BeanContextServiceProvider
public java.lang.Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector)
UnsupportedOperationException
.getService
in interface BeanContextServiceProvider
public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service)
BeanContextServices
.releaseService
in interface BeanContextServiceProvider
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
UnsupportedOperationException
.serviceRevoked
in interface BeanContextServiceRevokedListener