|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.wcb.foundation.ComponentBase
nl.gx.webmanager.wcb.foundation.ComponentTypeBase
nl.gx.webmanager.wcb.elementtype.impl.ElementComponentTypeImpl
public final class ElementComponentTypeImpl
This class provides a componentType implementation for GX Webmanager elements.
| Field Summary |
|---|
| Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentTypeBase |
|---|
myJcrService, mySiteworksUtil |
| Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase |
|---|
myBundleContext, myComponentBundle, myComponentDefinition |
| Constructor Summary | |
|---|---|
ElementComponentTypeImpl()
|
|
| Method Summary | |
|---|---|
boolean |
checkComponentDefinition(ComponentDefinition componentDefinition)
Checks if the component definition for this type is valid. |
java.lang.String |
getComponentInterface()
Return the component interface. |
java.lang.String |
getComponentTypeInterface()
Return the component type interface. |
protected org.osgi.service.prefs.PreferencesService |
getPreferencesService()
Returns the injected preferences service. |
boolean |
installComponent(ComponentDefinition componentDefinition)
Invoked when a component of this component type is installed. |
boolean |
purgeComponent(ComponentDefinition componentDefinition)
Deletes the content created by instances of the component type. |
boolean |
startComponent(Component component)
Starts an installed component. |
boolean |
stopComponent(Component component)
Stops an installed component. |
boolean |
uninstallComponent(ComponentDefinition componentDefinition)
Uninstalls a component. |
boolean |
updateComponent(ComponentDefinition componentDefinition)
Updates a component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nl.gx.webmanager.wcb.ComponentType |
|---|
getComponent, getComponentCount, getComponents |
| Constructor Detail |
|---|
public ElementComponentTypeImpl()
| Method Detail |
|---|
public boolean startComponent(Component component)
startComponent in interface ComponentTypestartComponent in class ComponentTypeBasecomponent - Component that should be started
public boolean stopComponent(Component component)
ComponentTypeBase
stopComponent in interface ComponentTypestopComponent in class ComponentTypeBasecomponent - Component that should be started
public boolean installComponent(ComponentDefinition componentDefinition)
ComponentTypeBase
installComponent in interface ComponentTypeinstallComponent in class ComponentTypeBasecomponentDefinition - Definition of the component that is to be installed
public boolean updateComponent(ComponentDefinition componentDefinition)
ComponentTypeBase
updateComponent in interface ComponentTypeupdateComponent in class ComponentTypeBasecomponentDefinition - Definition of the component that is to be installed
public boolean purgeComponent(ComponentDefinition componentDefinition)
ComponentTypeBase
purgeComponent in interface ComponentTypepurgeComponent in class ComponentTypeBasecomponentDefinition - Definition of the component that is to be purged
public boolean uninstallComponent(ComponentDefinition componentDefinition)
ComponentTypeBase
uninstallComponent in interface ComponentTypeuninstallComponent in class ComponentTypeBasecomponentDefinition - Definition of the component that is to be uninstalled
public final boolean checkComponentDefinition(ComponentDefinition componentDefinition)
checkComponentDefinition in interface ComponentTypecheckComponentDefinition in class ComponentTypeBasecomponentDefinition - The component definition
public java.lang.String getComponentInterface()
getComponentInterface in interface ComponentTypepublic java.lang.String getComponentTypeInterface()
getComponentTypeInterface in interface ComponentTypeprotected org.osgi.service.prefs.PreferencesService getPreferencesService()
getPreferencesService in class ComponentTypeBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||