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 String
getContextName()
Map<String,Class<? extends javax.faces.convert.Converter>>
getConverterIdMap()
Map<Class<?>,Class<? extends javax.faces.convert.Converter>>
getConverterTypeMap()
IPluginPortal
getPlugin()
PluginRuntime
getPluginRuntime()
long
getRegistrationDate()
Map<String,Class<? extends javax.faces.validator.Validator>>
getValidatorIdMap()
boolean
handleContext(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
void
initialize(javax.servlet.ServletContext context)
void
shutdown()
-
-
-
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
- theServletRequest
response
- theServletResponse
- Returns:
true
if the context was handled by this runtime,false
otherwise.
-
shutdown
public void shutdown() throws RuntimeException
- Throws:
RuntimeException
- When the plugin could not be shut down.
-
-