org.pentaho.platform.plugin.services.webservices
Class SystemSolutionAxisConfigurator
java.lang.Object
org.pentaho.platform.engine.core.system.PentahoBase
org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
org.pentaho.platform.plugin.services.webservices.SystemSolutionAxisConfigurator
- All Implemented Interfaces:
- Serializable, org.apache.axis2.engine.AxisConfigurator, ILogger
- Direct Known Subclasses:
- FileSystemAxisConfigurator
public class SystemSolutionAxisConfigurator
- extends AbstractAxisConfigurator
This class provides axis with it's configuration information from
the file axis/axis2_config.xml in the pentaho system solutions folder.
In particular, it:
1) Provides an input stream for the axis configuration XML
which is located in the root of the plugin folder (getConfigXml)
2) Defines the web services that are available (getWebServiceDefinitions)
3) Provides persistence for enabled/disabled status of each web service
- Author:
- jamesdixon
- See Also:
- Serialized Form
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn |
SystemSolutionAxisConfigurator
public SystemSolutionAxisConfigurator()
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in class AbstractAxisConfigurator
init
public void init()
- Specified by:
init
in class AbstractAxisConfigurator
getAxisConfigPath
public static String getAxisConfigPath()
getConfigXml
public InputStream getConfigXml()
- Specified by:
getConfigXml
in class AbstractAxisConfigurator
setEnabled
public boolean setEnabled(String name,
boolean enabled)
throws org.apache.axis2.AxisFault
- Specified by:
setEnabled
in class AbstractAxisConfigurator
- Throws:
org.apache.axis2.AxisFault
addService
public void addService(IServiceConfig ws)
- Specified by:
addService
in class AbstractAxisConfigurator