org.apache.cocoon.components.modules.input
Class SystemPropertyModule
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.apache.cocoon.components.modules.input.AbstractInputModule
|
+--org.apache.cocoon.components.modules.input.AbstractJXPathModule
|
+--org.apache.cocoon.components.modules.input.SystemPropertyModule
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Disposable, InputModule, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.thread.ThreadSafe
- public class SystemPropertyModule
- extends AbstractJXPathModule
- implements org.apache.avalon.framework.thread.ThreadSafe
SystemPropertyModule is an JXPath based InputModule implementation that
provides access to system properties.
JXPath allows to apply XPath functions to system properties.
If there is a security manager, its checkPropertiesAccess
method is called with no arguments. This may result in a security exception
which is wrapped into a configuration exception and re-thrown.
- Version:
- $Id: SystemPropertyModule.java,v 1.2.2.1 2002/12/05 20:59:43 kpiroumian Exp $
- Author:
- Konstantin Piroumian
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule |
ROLE |
Method Summary |
protected java.lang.Object |
getContextObject(org.apache.avalon.framework.configuration.Configuration modeConf,
java.util.Map objectModel)
Returns the object which should be used as JXPath context.
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemPropertyModule
public SystemPropertyModule()
getContextObject
protected java.lang.Object getContextObject(org.apache.avalon.framework.configuration.Configuration modeConf,
java.util.Map objectModel)
- Description copied from class:
AbstractJXPathModule
- Returns the object which should be used as JXPath context.
Descendants should override this method to return a specific object
that is requried by the implementing class.
Examples are: request, session and application context objects.
- Overrides:
getContextObject
in class AbstractJXPathModule
Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.