Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.beans.beancontext.BeanContextChildSupport
java.beans.beancontext.BeanContextSupport
java.beans.beancontext.BeanContextServicesSupport
Nested Class Summary | |
protected class | |
protected class | |
protected static class |
Nested classes/interfaces inherited from class java.beans.beancontext.BeanContextSupport | |
BeanContextSupport.BCSChild , BeanContextSupport.BCSIterator |
Field Summary | |
protected ArrayList | |
protected BeanContextServicesSupport.BCSSProxyServiceProvider | |
protected int | |
protected HashMap |
Fields inherited from class java.beans.beancontext.BeanContextSupport | |
bcmListeners , children , designTime , locale , okToUseGui |
Fields inherited from class java.beans.beancontext.BeanContextChildSupport | |
beanContext , beanContextChildPeer , pcSupport , rejectedSetBCOnce , vcSupport |
Fields inherited from interface java.beans.beancontext.BeanContext | |
globalHierarchyLock |
Fields inherited from interface java.beans.DesignMode | |
PROPERTYNAME |
Constructor Summary | |
| |
| |
|
Method Summary | |
void | |
boolean |
|
protected boolean |
|
protected void | |
protected void | |
protected void |
|
protected BeanContextSupport.BCSChild |
|
protected BeanContextServicesSupport.BCSSServiceProvider | |
protected void | |
protected void |
|
protected void | |
protected void |
|
BeanContextServices | |
protected static BeanContextServicesListener | |
Iterator | |
Iterator |
|
Object |
|
boolean |
|
void | |
protected void | |
protected void | |
void |
|
void | |
void |
|
void | |
void |
|
Methods inherited from class java.lang.Object | |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
public BeanContextServicesSupport(BeanContextServices peer, Locale locale)
public BeanContextServicesSupport(BeanContextServices peer, Locale locale, boolean dtime)
public BeanContextServicesSupport(BeanContextServices peer, Locale locale, boolean dtime, boolean visible)
public void addBeanContextServicesListener(BeanContextServicesListener listener)
- Specified by:
- addBeanContextServicesListener in interface BeanContextServices
public boolean addService(Class serviceClass, BeanContextServiceProvider bcsp)
- Specified by:
- addService in interface BeanContextServices
protected boolean addService(Class serviceClass, BeanContextServiceProvider bcsp, boolean fireEvent)
protected void bcsPreDeserializationHook(ObjectInputStream ois) throws ClassNotFoundException, IOException, NotImplementedException
- Overrides:
- bcsPreDeserializationHook in interface BeanContextSupport
protected void bcsPreSerializationHook(ObjectOutputStream oos) throws IOException, NotImplementedException
- Overrides:
- bcsPreSerializationHook in interface BeanContextSupport
protected void childJustRemovedHook(Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException
- Overrides:
- childJustRemovedHook in interface BeanContextSupport
protected BeanContextSupport.BCSChild createBCSChild(Object targetChild, Object peer)
- Overrides:
- createBCSChild in interface BeanContextSupport
protected BeanContextServicesSupport.BCSSServiceProvider createBCSSServiceProvider(Class sc, BeanContextServiceProvider bcsp) throws NotImplementedException
public BeanContextServices getBeanContextServicesPeer() throws NotImplementedException
protected static final BeanContextServicesListener getChildBeanContextServicesListener(Object child) throws NotImplementedException
public Iterator getCurrentServiceClasses()
- Specified by:
- getCurrentServiceClasses in interface BeanContextServices
public Iterator getCurrentServiceSelectors(Class serviceClass)
- Specified by:
- getCurrentServiceSelectors in interface BeanContextServices
public Object getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) throws TooManyListenersException, NotImplementedException
- Specified by:
- getService in interface BeanContextServices
public boolean hasService(Class serviceClass)
- Specified by:
- hasService in interface BeanContextServices
protected void initializeBeanContextResources() throws NotImplementedException
- Overrides:
- initializeBeanContextResources in interface BeanContextChildSupport
protected void releaseBeanContextResources() throws NotImplementedException
- Overrides:
- releaseBeanContextResources in interface BeanContextChildSupport
public void releaseService(BeanContextChild child, Object requestor, Object service) throws NotImplementedException
- Specified by:
- releaseService in interface BeanContextServices
public void removeBeanContextServicesListener(BeanContextServicesListener listener)
- Specified by:
- removeBeanContextServicesListener in interface BeanContextServices
public void revokeService(Class serviceClass, BeanContextServiceProvider bcsp, boolean revokeCurrentServicesNow) throws NotImplementedException
- Specified by:
- revokeService in interface BeanContextServices
public void serviceAvailable(BeanContextServiceAvailableEvent bcssae)
- Specified by:
- serviceAvailable in interface BeanContextServicesListener
- Overrides:
- serviceAvailable in interface BeanContextChildSupport
public void serviceRevoked(BeanContextServiceRevokedEvent bcssre)
Called byBeanContextServices.revokeService()
to indicate that a service has been revoked. If you have a reference to such a service, it should be discarded and may no longer function properly.getService()
will no longer work on the specified service class after this event has been fired.
- Specified by:
- serviceRevoked in interface BeanContextServiceRevokedListener
- Overrides:
- serviceRevoked in interface BeanContextChildSupport
- Parameters: