Package de.xima.fc.portal.runtime
Class PortalRuntime
- java.lang.Object
-
- de.xima.fc.portal.runtime.PortalRuntime
-
public class PortalRuntime extends Object
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PortalRuntime(PluginRuntime prtm, IPluginPortal plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContextName()Map<String,Class<? extends javax.faces.convert.Converter>>getConverterIdMap()Map<Class<?>,Class<? extends javax.faces.convert.Converter>>getConverterTypeMap()IPluginPortalgetPlugin()PluginRuntimegetPluginRuntime()longgetRegistrationDate()Map<String,Class<? extends javax.faces.validator.Validator>>getValidatorIdMap()booleanhandleContext(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)voidinitialize(javax.servlet.ServletContext context)voidshutdown()
-
-
-
Constructor Detail
-
PortalRuntime
public PortalRuntime(PluginRuntime prtm, IPluginPortal plugin)
-
-
Method Detail
-
getValidatorIdMap
public Map<String,Class<? extends javax.faces.validator.Validator>> getValidatorIdMap()
- Returns:
- the validatorIdMap
-
getConverterTypeMap
public Map<Class<?>,Class<? extends javax.faces.convert.Converter>> getConverterTypeMap()
- Returns:
- the converterTypeMap
-
getConverterIdMap
public Map<String,Class<? extends javax.faces.convert.Converter>> getConverterIdMap()
- Returns:
- the converterIdMap
-
getRegistrationDate
public long getRegistrationDate()
- Returns:
- the registrationDate
-
getPlugin
public IPluginPortal getPlugin()
- Returns:
- the plugin
-
getPluginRuntime
public PluginRuntime getPluginRuntime()
- Returns:
- the prtm
-
getContextName
public String getContextName()
- Returns:
- the contextName
-
initialize
public void initialize(javax.servlet.ServletContext context)
-
handleContext
public boolean handleContext(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)- Parameters:
request- theServletRequestresponse- theServletResponse- Returns:
trueif the context was handled by this runtime,falseotherwise.
-
shutdown
public void shutdown() throws RuntimeException- Throws:
RuntimeException- When the plugin could not be shut down.
-
-