Class ServletComponentTypeImpl
- java.lang.Object
-
- nl.gx.webmanager.wcb.foundation.ComponentBase
-
- nl.gx.webmanager.wcb.foundation.ComponentTypeBase
-
- nl.gx.webmanager.wcb.servlettype.impl.ServletComponentTypeImpl
-
- All Implemented Interfaces:
DelegatedControllerAware
,Component
,ComponentType
,ServletComponentType
public final class ServletComponentTypeImpl extends ComponentTypeBase implements ServletComponentType
This class provides a servlet component type implementation.- Author:
- ivol
-
-
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
Constructors Constructor Description ServletComponentTypeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComponentInterface()
Return the component interface this componentType provides.String
getComponentTypeInterface()
Returns the componentType interface this componentType publishes.boolean
startComponent(Component component)
Starts an installed component.boolean
stopComponent(Component component)
Stops an installed component.-
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentTypeBase
checkComponentDefinition, componentAdded, componentRemoved, createEditLanguageLabels, createOrUpdatePermissions, createOrUpdatePermissions, createOrUpdateRbacCategory, createPermission, createPermission, createPermissions, createPermissions, deleteEditLanguageLabels, deletePermissions, deletePermissions, deployResources, disableMenuItems, enableComponentForAllWebsites, enableMenuItems, getComponent, getComponentCount, getComponentManager, getComponents, getLocaleIdFromResourceName, getPreferencesService, grantsMenuItemAccess, installComponent, installComponent, logError, purgeComponent, uninstallComponent, updateComponent, updatePermissionsForPermissionGroups
-
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
dependencyAdded, dependencyRemoved, exportContent, extensionAdded, extensionRemoved, getBundleContext, getClassesFromBundle, getClassForName, getComponentBundle, getComponentDefinition, getDelegatedController, getExtensions, getId, getInstance, getInstanceForName, getPrivateNode, getPrivateNode, getTypeId, getWrapperDefinitions, importContent, internalDoStart, internalDoStop, onDestroy, onInit, onInstall, onPurge, onStart, onStop, onUninstall, onUpdate, purgeContent, setBundleContext, setComponentBundle, setComponentBundle, setComponentDefinition, setComponentManager, setDelegatedController
-
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
checkComponentDefinition, deployResources, enableComponentForAllWebsites, getComponent, getComponentCount, getComponents, installComponent, installComponent, purgeComponent, uninstallComponent, updateComponent
-
-
-
-
Method Detail
-
startComponent
public boolean startComponent(Component component)
Description copied from interface:ComponentType
Starts an installed component.- Specified by:
startComponent
in interfaceComponentType
- Specified by:
startComponent
in classComponentTypeBase
- Parameters:
component
- Component that should be started- Returns:
- true if the component was successfully started
-
stopComponent
public boolean stopComponent(Component component)
Description copied from interface:ComponentType
Stops an installed component.- Specified by:
stopComponent
in interfaceComponentType
- Specified by:
stopComponent
in classComponentTypeBase
- Parameters:
component
- Component that should be stopped- Returns:
- true if the component was successfully stopped
-
getComponentInterface
public String getComponentInterface()
Description copied from interface:ComponentType
Return the component interface this componentType provides.- Specified by:
getComponentInterface
in interfaceComponentType
- Returns:
- identifier for provided type
-
getComponentTypeInterface
public String getComponentTypeInterface()
Description copied from interface:ComponentType
Returns the componentType interface this componentType publishes.- Specified by:
getComponentTypeInterface
in interfaceComponentType
- Returns:
- identifier for provided type
-
-