public interface BeanContextServices extends BeanContext, BeanContextServicesListener
globalHierarchyLock
PROPERTYNAME
Modifier and Type | Method and 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) |
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
isDesignTime, setDesignTime
avoidingGui, dontUseGui, needsGui, okToUseGui
serviceAvailable
serviceRevoked
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) throws java.util.TooManyListenersException
java.util.TooManyListenersException
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)