org.ejtools.beans.beancontext
Class CustomBeanContextServiceProvider

java.lang.Object
  |
  +--java.beans.beancontext.BeanContextChildSupport
        |
        +--java.beans.beancontext.BeanContextSupport
              |
              +--java.beans.beancontext.BeanContextServicesSupport
                    |
                    +--org.ejtools.beans.beancontext.CustomBeanContextServicesSupport
                          |
                          +--org.ejtools.beans.beancontext.CustomBeanContextServiceProvider
All Implemented Interfaces:
java.beans.beancontext.BeanContext, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextServiceProvider, java.beans.beancontext.BeanContextServiceRevokedListener, java.beans.beancontext.BeanContextServices, java.beans.beancontext.BeanContextServicesListener, java.util.Collection, java.beans.DesignMode, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable, Storable, java.beans.VetoableChangeListener, java.beans.Visibility
Direct Known Subclasses:
ProfileServiceProvider

public abstract class CustomBeanContextServiceProvider
extends CustomBeanContextServicesSupport
implements java.beans.beancontext.BeanContextServiceProvider

Super class that aggregates the Service support role, and the service provider role.

Version:
$Revision: 1.10 $
Author:
Laurent Etiemble
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.beans.beancontext.BeanContextServicesSupport
bcsListeners, proxy, serializable, services
 
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
CustomBeanContextServiceProvider()
           
 
Method Summary
protected abstract  java.lang.Class[] getServiceClass()
          Returns the Service classes provided.
protected  void initializeBeanContextResources()
          Registers every service into the parent bean context
protected  void releaseBeanContextResources()
          Registers every service into the parent bean context
 
Methods inherited from class org.ejtools.beans.beancontext.CustomBeanContextServicesSupport
accept, clear, getService
 
Methods inherited from class java.beans.beancontext.BeanContextServicesSupport
addBeanContextServicesListener, addService, addService, bcsPreDeserializationHook, bcsPreSerializationHook, childJustRemovedHook, createBCSChild, createBCSSServiceProvider, fireServiceAdded, fireServiceAdded, fireServiceRevoked, fireServiceRevoked, getBeanContextServicesPeer, getChildBeanContextServicesListener, getCurrentServiceClasses, getCurrentServiceSelectors, hasService, initialize, releaseService, removeBeanContextServicesListener, revokeService, serviceAvailable, serviceRevoked
 
Methods inherited from class java.beans.beancontext.BeanContextSupport
add, addAll, addBeanContextMembershipListener, avoidingGui, bcsChildren, childDeserializedHook, childJustAddedHook, classEquals, contains, containsAll, containsKey, copyChildren, deserialize, dontUseGui, fireChildrenAdded, fireChildrenRemoved, getBeanContextPeer, getChildBeanContextChild, getChildBeanContextMembershipListener, getChildPropertyChangeListener, getChildSerializable, getChildVetoableChangeListener, getChildVisibility, getLocale, getResource, getResourceAsStream, instantiateChild, isDesignTime, isEmpty, isSerializing, iterator, needsGui, okToUseGui, propertyChange, readChildren, remove, remove, removeAll, removeBeanContextMembershipListener, retainAll, serialize, setDesignTime, setLocale, size, toArray, toArray, validatePendingAdd, validatePendingRemove, vetoableChange, writeChildren
 
Methods inherited from class java.beans.beancontext.BeanContextChildSupport
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, isDelegated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, validatePendingSetBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.beancontext.BeanContextServiceProvider
getCurrentServiceSelectors, getService, releaseService
 
Methods inherited from interface java.beans.beancontext.BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
 
Methods inherited from interface java.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 
Methods inherited from interface java.util.Collection
add, addAll, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.beans.DesignMode
isDesignTime, setDesignTime
 
Methods inherited from interface java.beans.Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
 

Constructor Detail

CustomBeanContextServiceProvider

public CustomBeanContextServiceProvider()
Method Detail

getServiceClass

protected abstract java.lang.Class[] getServiceClass()
Returns the Service classes provided.

Returns:
The array of service provided

initializeBeanContextResources

protected void initializeBeanContextResources()
Registers every service into the parent bean context

Overrides:
initializeBeanContextResources in class java.beans.beancontext.BeanContextServicesSupport

releaseBeanContextResources

protected void releaseBeanContextResources()
Registers every service into the parent bean context

Overrides:
releaseBeanContextResources in class java.beans.beancontext.BeanContextServicesSupport


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.