Class ServletComponentDefinitionImpl
- java.lang.Object
-
- nl.gx.webmanager.wcb.foundation.ComponentDefinitionImpl
-
- nl.gx.webmanager.wcb.servlettype.impl.ServletComponentDefinitionImpl
-
- All Implemented Interfaces:
ComponentDefinition
,ServletComponentDefinition
public class ServletComponentDefinitionImpl extends ComponentDefinitionImpl implements ServletComponentDefinition
This class implements the servlet component definition.- Author:
- ivol
-
-
Constructor Summary
Constructors Constructor Description ServletComponentDefinitionImpl(boolean isLicensed)
Creates a newServletComponentDefinitionImpl
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getServletClassName()
Deprecated.Use thegetInstanceClassName
method if the implementation class of the component definition is a SimpleServletComponent.String
getServletUrlPath()
Returns the relative path which should lead a servlet request to the servlet implemented by this servlet component, ornull
if none is defined.void
setServletClassName(String servletClassName)
Deprecated.Use thesetInstanceClassName(String)
method if the implementation class of the component definition is a SimpleServletComponent.void
setServletUrlPath(String urlPath)
Sets the relative path which should lead a servlet request to the servlet implemented by this servlet component.-
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentDefinitionImpl
getComponentBundleDefinition, getControllerClassName, getDependencies, getDescription, getDisplayLanguage, getEntityClassNames, getEntityFactoryClassName, getExtensions, getId, getImplementationClassName, getImplementationInstance, getInstanceClassName, getInterfaceClassNames, getLanguageResourceMessage, getLanguageResourceMessages, getLanguageResources, getName, getNameSpace, getNodeType, getPermissionCategory, getPermissionsForPermissionGroups, getPersistenceManagerClassName, getProperties, getTypeId, getWrapperClassNames, isLicensed, setComponentBundleDefinition, setControllerClassName, setDependencies, setDescription, setEntityClassNames, setEntityFactoryClassName, setExtensions, setId, setImplementationClassName, setImplementationInstance, setInstanceClassName, setInterfaceClassNames, setLanguageResources, setName, setNameSpace, setNodeType, setPermissionCategory, setPermissionsForPermissionGroup, setPersistenceManagerClassName, setProperties, setTypeId, setWrapperClassNames
-
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.ComponentDefinition
getComponentBundleDefinition, getControllerClassName, getDependencies, getDescription, getDisplayLanguage, getEntityClassNames, getEntityFactoryClassName, getExtensions, getId, getImplementationClassName, getImplementationInstance, getInstanceClassName, getInterfaceClassNames, getLanguageResourceMessage, getLanguageResourceMessages, getLanguageResources, getName, getNameSpace, getNodeType, getPermissionCategory, getPermissionsForPermissionGroups, getPersistenceManagerClassName, getProperties, getTypeId, getWrapperClassNames, isLicensed, setComponentBundleDefinition, setExtensions
-
-
-
-
Method Detail
-
getServletClassName
@Deprecated public String getServletClassName()
Deprecated.Use thegetInstanceClassName
method if the implementation class of the component definition is a SimpleServletComponent. This way, dependency injection in the servlet instance class will be supported by means of a service set-method in the instance class.Returns the classname of the servlet associated with this component.- Specified by:
getServletClassName
in interfaceServletComponentDefinition
- Returns:
- the classname of the servlet associated with this component
-
setServletClassName
@Deprecated public void setServletClassName(String servletClassName)
Deprecated.Use thesetInstanceClassName(String)
method if the implementation class of the component definition is a SimpleServletComponent. This way, dependency injection in the servlet instance class will be supported by means of a service set-method in the instance class.Sets the classname of the servlet associated with this component.- Parameters:
servletClassName
- Name of the servlet associated with this component
-
getServletUrlPath
public final String getServletUrlPath()
Description copied from interface:ServletComponentDefinition
Returns the relative path which should lead a servlet request to the servlet implemented by this servlet component, ornull
if none is defined.- Specified by:
getServletUrlPath
in interfaceServletComponentDefinition
- Returns:
- the relative path which should lead a servlet request to the servlet implemented by this
servlet component, or
null
if none is defined.
-
setServletUrlPath
public final void setServletUrlPath(String urlPath)
Sets the relative path which should lead a servlet request to the servlet implemented by this servlet component.- Parameters:
urlPath
- The relative path which should lead a servlet request to the servlet implemented by this servlet component.
-
-