Package jadex.commons.beans.beancontext
Class BeanContextServicesSupport.BCSSProxyServiceProvider
- java.lang.Object
-
- jadex.commons.beans.beancontext.BeanContextServicesSupport.BCSSProxyServiceProvider
-
- All Implemented Interfaces:
BeanContextServiceProvider,BeanContextServiceRevokedListener,java.util.EventListener
- Enclosing class:
- BeanContextServicesSupport
protected class BeanContextServicesSupport.BCSSProxyServiceProvider extends java.lang.Object implements BeanContextServiceProvider, BeanContextServiceRevokedListener
This class implements theBeanContextServiceProviderinterface by wrapping aBeanContextServices. All services registered in theBeanContextServicesare accessible via this wrapper service provider.BeanContextServicesSupport to access services provided by its parent context (if there is one).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.IteratorgetCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass)ThrowsUnsupportedOperationException.java.lang.ObjectgetService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector)ThrowsUnsupportedOperationException.voidreleaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service)Delegate to the wrappedBeanContextServices.voidserviceRevoked(BeanContextServiceRevokedEvent bcsre)ThrowsUnsupportedOperationException.
-
-
-
Method Detail
-
getCurrentServiceSelectors
public java.util.Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass)
ThrowsUnsupportedOperationException.- Specified by:
getCurrentServiceSelectorsin interfaceBeanContextServiceProvider
-
getService
public java.lang.Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector)
ThrowsUnsupportedOperationException.- Specified by:
getServicein interfaceBeanContextServiceProvider
-
releaseService
public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service)
Delegate to the wrappedBeanContextServices.- Specified by:
releaseServicein interfaceBeanContextServiceProvider
-
serviceRevoked
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
ThrowsUnsupportedOperationException.- Specified by:
serviceRevokedin interfaceBeanContextServiceRevokedListener
-
-