|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfigurableManager
Maanges the configurable components and their properties. If a component is configurable than the configuration elements are assigned to it. If the configurable component is loadable this is done before loading the component.
Method Summary | |
---|---|
void |
addProperty(java.lang.String pName,
java.lang.Class pType)
Adds the specified property to the list of configurable elements. |
void |
addProperty(java.lang.String pName,
java.lang.Class pType,
boolean pIsRequired)
Adds the specified property to the list of configurable elements. |
boolean |
isAssignable(java.lang.String pName,
java.lang.Object pValue)
Checks if the specified property can accept the value. |
boolean |
isChangeable(java.lang.String pName)
Checks if the specified property is changeable. |
java.lang.String |
listRequiredComponents(java.lang.Class pClass)
Generates an XML String describing this component. |
java.util.Iterator |
walkParameters()
Get an iterator on the properties of this manager. |
Methods inherited from interface raccoon.api.types.IBaseComponent |
---|
isInError |
Method Detail |
---|
void addProperty(java.lang.String pName, java.lang.Class pType)
ILoadable
.
pName
- the name of the property, usually correlated to the java bean property.pType
- the type of the property, usually obtained via (Object Instance).Object.getClass()
void addProperty(java.lang.String pName, java.lang.Class pType, boolean pIsRequired)
pName
- the name of the property, usually correlated to the java bean property.pType
- the type of the property, usually obtained via (Object Instance).Object.getClass()
pIsRequired
- should the value of this property be assigned before this component is loaded.boolean isChangeable(java.lang.String pName) throws ResourceNotFoundException
pName
- the name of the property, usually correlated to the java bean property.
true
if the value of the property can be modified.
ResourceNotFoundException
- if the property named pName
was not found.boolean isAssignable(java.lang.String pName, java.lang.Object pValue) throws ResourceNotFoundException
pName
- the name of the property, usually correlated to the java bean property.pValue
- the value that is to be assigned to the property.
true
ResourceNotFoundException
- if the property named pName
was not found.java.util.Iterator walkParameters()
ConfigurableProperty
elements.java.lang.String listRequiredComponents(java.lang.Class pClass) throws java.lang.Exception
IServiceManager
for end user convenience.
Note: this method relies on the implementing class to declare it's configurable elements.
pClass
- the class for which the configurable parameters are desired.
java.lang.Exception
- should there be an error whilst analyzing the provided class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |