Package jadex.commons.beans.beancontext
Interface BeanContextServices
-
- All Superinterfaces:
BeanContext
,BeanContextChild
,BeanContextServiceRevokedListener
,BeanContextServicesListener
,java.util.Collection
,DesignMode
,java.util.EventListener
,java.lang.Iterable
,Visibility
- All Known Implementing Classes:
BeanContextServicesSupport
public interface BeanContextServices extends BeanContext, BeanContextServicesListener
-
-
Field Summary
-
Fields inherited from interface jadex.commons.beans.beancontext.BeanContext
globalHierarchyLock
-
Fields inherited from interface jadex.commons.beans.DesignMode
PROPERTYNAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addBeanContextServicesListener(BeanContextServicesListener bcsl)
boolean
addService(java.lang.Class serviceClass, BeanContextServiceProvider serviceProvider)
java.util.Iterator
getCurrentServiceClasses()
java.util.Iterator
getCurrentServiceSelectors(java.lang.Class serviceClass)
java.lang.Object
getService(BeanContextChild child, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
boolean
hasService(java.lang.Class serviceClass)
void
releaseService(BeanContextChild child, java.lang.Object requestor, java.lang.Object service)
void
removeBeanContextServicesListener(BeanContextServicesListener bcsl)
void
revokeService(java.lang.Class serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow)
-
Methods inherited from interface jadex.commons.beans.beancontext.BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
-
Methods inherited from interface jadex.commons.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
-
Methods inherited from interface jadex.commons.beans.beancontext.BeanContextServiceRevokedListener
serviceRevoked
-
Methods inherited from interface jadex.commons.beans.beancontext.BeanContextServicesListener
serviceAvailable
-
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Methods inherited from interface jadex.commons.beans.DesignMode
isDesignTime, setDesignTime
-
Methods inherited from interface jadex.commons.beans.Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
-
-
-
-
Method Detail
-
addBeanContextServicesListener
void addBeanContextServicesListener(BeanContextServicesListener bcsl)
-
addService
boolean addService(java.lang.Class serviceClass, BeanContextServiceProvider serviceProvider)
-
getCurrentServiceClasses
java.util.Iterator getCurrentServiceClasses()
-
getCurrentServiceSelectors
java.util.Iterator getCurrentServiceSelectors(java.lang.Class serviceClass)
-
getService
java.lang.Object getService(BeanContextChild child, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector, BeanContextServiceRevokedListener bcsrl) throws java.util.TooManyListenersException
- Throws:
java.util.TooManyListenersException
-
hasService
boolean hasService(java.lang.Class serviceClass)
-
releaseService
void releaseService(BeanContextChild child, java.lang.Object requestor, java.lang.Object service)
-
removeBeanContextServicesListener
void removeBeanContextServicesListener(BeanContextServicesListener bcsl)
-
revokeService
void revokeService(java.lang.Class serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow)
-
-