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.voidreleaseService(BeanContextServices bcs, Object requestor, Object service) Delegate to the wrappedBeanContextServices.voidThrowsUnsupportedOperationException.
-
Method Details
-
getCurrentServiceSelectors
ThrowsUnsupportedOperationException.- Specified by:
getCurrentServiceSelectorsin interfaceBeanContextServiceProvider
-
getService
public Object getService(BeanContextServices bcs, Object requestor, Class serviceClass, Object serviceSelector) ThrowsUnsupportedOperationException.- Specified by:
getServicein interfaceBeanContextServiceProvider
-
releaseService
Delegate to the wrappedBeanContextServices.- Specified by:
releaseServicein interfaceBeanContextServiceProvider
-
serviceRevoked
ThrowsUnsupportedOperationException.- Specified by:
serviceRevokedin interfaceBeanContextServiceRevokedListener
-