Package javaa.beans.beancontext
Class BeanContextServicesSupport.BCSSProxyServiceProvider
java.lang.Object
javaa.beans.beancontext.BeanContextServicesSupport.BCSSProxyServiceProvider
- All Implemented Interfaces:
EventListener
,BeanContextServiceProvider
,BeanContextServiceRevokedListener
- Enclosing class:
BeanContextServicesSupport
protected class BeanContextServicesSupport.BCSSProxyServiceProvider
extends Object
implements BeanContextServiceProvider, BeanContextServiceRevokedListener
This class implements the
BeanContextServiceProvider
interface by wrapping a BeanContextServices
. All services
registered in the BeanContextServices
are accessible via
this wrapper service provider.
This class is used by BeanContextServicesSupport
to access
services provided by its parent context (if there is one).
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentServiceSelectors
(BeanContextServices bcs, Class serviceClass) ThrowsUnsupportedOperationException
.getService
(BeanContextServices bcs, Object requestor, Class serviceClass, Object serviceSelector) ThrowsUnsupportedOperationException
.void
releaseService
(BeanContextServices bcs, Object requestor, Object service) Delegate to the wrappedBeanContextServices
.void
ThrowsUnsupportedOperationException
.
-
Method Details
-
getCurrentServiceSelectors
ThrowsUnsupportedOperationException
.- Specified by:
getCurrentServiceSelectors
in interfaceBeanContextServiceProvider
-
getService
public Object getService(BeanContextServices bcs, Object requestor, Class serviceClass, Object serviceSelector) ThrowsUnsupportedOperationException
.- Specified by:
getService
in interfaceBeanContextServiceProvider
-
releaseService
Delegate to the wrappedBeanContextServices
.- Specified by:
releaseService
in interfaceBeanContextServiceProvider
-
serviceRevoked
ThrowsUnsupportedOperationException
.- Specified by:
serviceRevoked
in interfaceBeanContextServiceRevokedListener
-