com.googlecode.openbeans.beancontext
Interface BeanContextServices

All Superinterfaces:
BeanContext, BeanContextChild, BeanContextServiceRevokedListener, BeanContextServicesListener, Collection, DesignMode, EventListener, Iterable, Visibility
All Known Implementing Classes:
BeanContextServicesSupport

public interface BeanContextServices
extends BeanContext, BeanContextServicesListener


Field Summary
 
Fields inherited from interface com.googlecode.openbeans.beancontext.BeanContext
globalHierarchyLock
 
Fields inherited from interface com.googlecode.openbeans.DesignMode
PROPERTYNAME
 
Method Summary
 void addBeanContextServicesListener(BeanContextServicesListener bcsl)
           
 boolean addService(Class serviceClass, BeanContextServiceProvider serviceProvider)
           
 Iterator getCurrentServiceClasses()
           
 Iterator getCurrentServiceSelectors(Class serviceClass)
           
 Object getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
           
 boolean hasService(Class serviceClass)
           
 void releaseService(BeanContextChild child, Object requestor, Object service)
           
 void removeBeanContextServicesListener(BeanContextServicesListener bcsl)
           
 void revokeService(Class serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow)
           
 
Methods inherited from interface com.googlecode.openbeans.beancontext.BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
 
Methods inherited from interface com.googlecode.openbeans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface com.googlecode.openbeans.DesignMode
isDesignTime, setDesignTime
 
Methods inherited from interface com.googlecode.openbeans.Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
 
Methods inherited from interface com.googlecode.openbeans.beancontext.BeanContextServicesListener
serviceAvailable
 
Methods inherited from interface com.googlecode.openbeans.beancontext.BeanContextServiceRevokedListener
serviceRevoked
 

Method Detail

addBeanContextServicesListener

void addBeanContextServicesListener(BeanContextServicesListener bcsl)

addService

boolean addService(Class serviceClass,
                   BeanContextServiceProvider serviceProvider)

getCurrentServiceClasses

Iterator getCurrentServiceClasses()

getCurrentServiceSelectors

Iterator getCurrentServiceSelectors(Class serviceClass)

getService

Object getService(BeanContextChild child,
                  Object requestor,
                  Class serviceClass,
                  Object serviceSelector,
                  BeanContextServiceRevokedListener bcsrl)
                  throws TooManyListenersException
Throws:
TooManyListenersException

hasService

boolean hasService(Class serviceClass)

releaseService

void releaseService(BeanContextChild child,
                    Object requestor,
                    Object service)

removeBeanContextServicesListener

void removeBeanContextServicesListener(BeanContextServicesListener bcsl)

revokeService

void revokeService(Class serviceClass,
                   BeanContextServiceProvider serviceProvider,
                   boolean revokeCurrentServicesNow)


Copyright © 2013. All Rights Reserved.