|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.core.csi.extension.KAoSExtensionComponentManagerImpl
public class KAoSExtensionComponentManagerImpl
This class implements the interface defines methods to manage a repository of KAoSExtensionComponents
Constructor Summary | |
---|---|
protected |
KAoSExtensionComponentManagerImpl(java.lang.String type)
|
Method Summary | |
---|---|
void |
changeComponentEnabledStatus(java.lang.String associatedOntType,
boolean state)
Changes the 'enabled' status of the given component |
boolean |
deregisterComponent(java.lang.String componentName)
Deregister a specific KAoSExtensionComponent from KAoS |
java.util.List<KAoSExtensionComponent> |
getAllKAoSExtensionComponents()
Get all components contained in this repository. |
KAoSExtensionComponent |
getComponent(java.lang.String associatedOntType,
ServiceProperties props)
Obtain a specific for the given manager kind of extension component associated with the provided ontology attribute. |
boolean |
getComponentEnabledStatus(java.lang.String associatedOntType)
Get the 'enabled' status of the given component |
java.lang.String |
getRepositoryManagerType()
Get the repository type of this manager. |
java.util.Map<java.lang.String,java.lang.String> |
getRepositoryTableInformation()
This method returns the concepts names and their corresponding component names in a map. |
ServiceProperties |
getServiceProperties()
|
void |
initialize(ServiceProperties env)
|
protected static void |
printDebugString(java.lang.String msg,
int loggerDisplayLevel)
|
boolean |
registerComponent(KAoSExtensionComponent extensionComponent)
Register a specific KAoSExtensionComponent with KAoS |
void |
removeAllKAoSExtensionComponents()
Remove all components contained in this repository. |
void |
setServiceProperties(ServiceProperties props)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KAoSExtensionComponentManagerImpl(java.lang.String type)
Method Detail |
---|
public java.lang.String getRepositoryManagerType()
KAoSExtensionComponentManager
getRepositoryManagerType
in interface KAoSExtensionComponentManager
public boolean registerComponent(KAoSExtensionComponent extensionComponent)
KAoSExtensionComponentManager
registerComponent
in interface KAoSExtensionComponentManager
extensionComponent
- KAoSExtensionComponent that is being registered
public boolean deregisterComponent(java.lang.String componentName)
KAoSExtensionComponentManager
deregisterComponent
in interface KAoSExtensionComponentManager
componentName
- name of the component
public KAoSExtensionComponent getComponent(java.lang.String associatedOntType, ServiceProperties props)
KAoSExtensionComponentManager
getComponent
in interface KAoSExtensionComponentManager
associatedOntType
- string specifying the ontology attribute, for which a component is requestedprops
- ServiceProperties (optionally) specifying additional ontological properties of the component.public void changeComponentEnabledStatus(java.lang.String associatedOntType, boolean state)
KAoSExtensionComponentManager
changeComponentEnabledStatus
in interface KAoSExtensionComponentManager
associatedOntType
- A String indicating the ontology type associated with that component.state
- A boolean parameter to which the status would changepublic boolean getComponentEnabledStatus(java.lang.String associatedOntType)
KAoSExtensionComponentManager
getComponentEnabledStatus
in interface KAoSExtensionComponentManager
associatedOntType
- A String indicating the ontology type associated with that component.public java.util.List<KAoSExtensionComponent> getAllKAoSExtensionComponents()
KAoSExtensionComponentManager
getAllKAoSExtensionComponents
in interface KAoSExtensionComponentManager
public void removeAllKAoSExtensionComponents()
KAoSExtensionComponentManager
removeAllKAoSExtensionComponents
in interface KAoSExtensionComponentManager
public java.util.Map<java.lang.String,java.lang.String> getRepositoryTableInformation()
KAoSExtensionComponentManager
getRepositoryTableInformation
in interface KAoSExtensionComponentManager
public ServiceProperties getServiceProperties() throws ServiceException, ServiceFailure
ServiceException
ServiceFailure
public void setServiceProperties(ServiceProperties props) throws ServiceException, ServiceFailure
ServiceException
ServiceFailure
public void initialize(ServiceProperties env) throws ServiceException
ServiceException
protected static void printDebugString(java.lang.String msg, int loggerDisplayLevel)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |