|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | +--org.ejtools.util.service.ProfileServiceProvider
Field Summary | |
protected ProfileMetaData |
metadata
Description of the Field |
protected Profile[] |
profiles
Description of the Field |
protected ProfileService |
service
Description of the Field |
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 | |
ProfileServiceProvider(ProfileMetaData metadata)
Constructor for the FactoryServiceProvider object |
Method Summary | |
java.util.Iterator |
getCurrentServiceSelectors(java.beans.beancontext.BeanContextServices bcs,
java.lang.Class serviceClass)
Getter for the currentServiceSelectors attribute |
Profile |
getProfile(int index)
Gets the metaData attribute of the FactoryService object |
Profile[] |
getProfiles()
Gets the metaDatas attribute of the FactoryService object |
java.lang.Object |
getService(java.beans.beancontext.BeanContextServices bcs,
java.lang.Object requestor,
java.lang.Class serviceClass,
java.lang.Object serviceSelector)
Getter for the service attribute |
protected java.lang.Class[] |
getServiceClass()
Returns the Service classes provided. |
void |
releaseService(java.beans.beancontext.BeanContextServices bcs,
java.lang.Object requestor,
java.lang.Object service)
Description of the Method |
Methods inherited from class org.ejtools.beans.beancontext.CustomBeanContextServiceProvider |
initializeBeanContextResources, releaseBeanContextResources |
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.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 |
Field Detail |
protected ProfileMetaData metadata
protected Profile[] profiles
protected ProfileService service
Constructor Detail |
public ProfileServiceProvider(ProfileMetaData metadata)
metadata
- Description of the ParameterMethod Detail |
public java.util.Iterator getCurrentServiceSelectors(java.beans.beancontext.BeanContextServices bcs, java.lang.Class serviceClass)
getCurrentServiceSelectors
in interface java.beans.beancontext.BeanContextServiceProvider
bcs
- Description of the ParameterserviceClass
- Description of the Parameter
public Profile getProfile(int index)
ProfileService
getProfile
in interface ProfileService
index
- Description of the Parameter
public Profile[] getProfiles()
ProfileService
getProfiles
in interface ProfileService
public java.lang.Object getService(java.beans.beancontext.BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector)
getService
in interface java.beans.beancontext.BeanContextServiceProvider
bcs
- Description of the Parameterrequestor
- Description of the ParameterserviceClass
- Description of the ParameterserviceSelector
- Description of the Parameter
public void releaseService(java.beans.beancontext.BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service)
releaseService
in interface java.beans.beancontext.BeanContextServiceProvider
bcs
- Description of the Parameterrequestor
- Description of the Parameterservice
- Description of the Parameterprotected java.lang.Class[] getServiceClass()
CustomBeanContextServiceProvider
getServiceClass
in class CustomBeanContextServiceProvider
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |