Package javaa.beans.beancontext
Interface BeanContextServices
- All Superinterfaces:
BeanContext
,BeanContextChild
,BeanContextServiceRevokedListener
,BeanContextServicesListener
,Collection
,DesignMode
,EventListener
,Iterable
,Visibility
- All Known Implementing Classes:
BeanContextServicesSupport
-
Field Summary
Fields inherited from interface javaa.beans.beancontext.BeanContext
globalHierarchyLock
Fields inherited from interface javaa.beans.DesignMode
PROPERTYNAME
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
addService
(Class serviceClass, BeanContextServiceProvider serviceProvider) getCurrentServiceSelectors
(Class serviceClass) getService
(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) boolean
hasService
(Class serviceClass) void
releaseService
(BeanContextChild child, Object requestor, Object service) void
void
revokeService
(Class serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow) Methods inherited from interface javaa.beans.beancontext.BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
Methods inherited from interface javaa.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
Methods inherited from interface javaa.beans.beancontext.BeanContextServiceRevokedListener
serviceRevoked
Methods inherited from interface javaa.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 javaa.beans.DesignMode
isDesignTime, setDesignTime
Methods inherited from interface javaa.beans.Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
-
Method Details
-
addBeanContextServicesListener
-
addService
-
getCurrentServiceClasses
Iterator getCurrentServiceClasses() -
getCurrentServiceSelectors
-
getService
Object getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) throws TooManyListenersException - Throws:
TooManyListenersException
-
hasService
-
releaseService
-
removeBeanContextServicesListener
-
revokeService
void revokeService(Class serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow)
-