|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The component manager class to manage various components like
inference engines, translator etc
Modified on: Aug 26, 2004, 4:44:32 PM
Method Summary | |
void |
addComponent(java.lang.Object component,
boolean overWrite)
This adds a component belonging to the specified componentRepositoryClass |
java.lang.Object |
getComponent(java.lang.Object componentDescriptor)
Returns the component specified by the descriptor |
java.lang.Object[] |
searchCompositeComponent(java.lang.Object componentDescriptor)
Performs a search on the components and returns the match This considers transitive closure |
java.lang.Object[] |
searchSimpleComponent(java.lang.Object componentDescriptor)
Performs a search on the components and returns the match This does not consider transitive closure |
Method Detail |
public void addComponent(java.lang.Object component, boolean overWrite) throws SweetException
component
- The component to be addedoverWrite
- If true it specifies that if the object exists then it should be overWritten
SweetException
- If either component/componentRepository class is unsupported
orpublic java.lang.Object getComponent(java.lang.Object componentDescriptor) throws SweetException
componentDescriptor
- The descriptor of the component desired
SweetException
- if the descriptor type is unknownpublic java.lang.Object[] searchSimpleComponent(java.lang.Object componentDescriptor) throws SweetException
componentDescriptor
- The descriptor of the component to be searched
SweetException
public java.lang.Object[] searchCompositeComponent(java.lang.Object componentDescriptor) throws SweetException
componentDescriptor
- The descriptor of the component to be searched
SweetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |