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
,org.pentaho.platform.api.engine.ILogger
- Direct Known Subclasses:
FileSystemAxisConfigurator
public class SystemSolutionAxisConfigurator extends AbstractAxisConfigurator
This class provides axis with its 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
-
-
Field Summary
Fields Modifier and Type Field Description protected List<org.pentaho.platform.api.engine.IServiceConfig>
wsDfns
-
Fields inherited from class org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
axisConfig, loaded, session
-
-
Constructor Summary
Constructors Constructor Description SystemSolutionAxisConfigurator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addService(org.pentaho.platform.api.engine.IServiceConfig ws)
protected void
addServiceEndPoints(org.apache.axis2.description.AxisService axisService)
Adds any implementation-specific web service endpoints for a Axis serviceprotected void
addTransports(org.apache.axis2.description.AxisService axisService)
Adds any implementation-specific transports for a Axis servicestatic String
getAxisConfigPath()
InputStream
getConfigXml()
org.apache.commons.logging.Log
getLogger()
protected List<org.pentaho.platform.api.engine.IServiceConfig>
getWebServiceDefinitions()
Returns a list of the web service wrappers for this implmentationvoid
init()
boolean
setEnabled(String name, boolean enabled)
-
Methods inherited from class org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
cleanup, engageGlobalModules, getAxisConfiguration, getWebServiceDefinition, loadService, loadServices, reloadServices, setSession, unloadServices
-
-
-
-
Field Detail
-
wsDfns
protected List<org.pentaho.platform.api.engine.IServiceConfig> wsDfns
-
-
Method Detail
-
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in classAbstractAxisConfigurator
-
init
public void init()
- Specified by:
init
in classAbstractAxisConfigurator
-
getAxisConfigPath
public static String getAxisConfigPath()
-
getConfigXml
public InputStream getConfigXml()
- Specified by:
getConfigXml
in classAbstractAxisConfigurator
-
setEnabled
public boolean setEnabled(String name, boolean enabled) throws org.apache.axis2.AxisFault
- Specified by:
setEnabled
in classAbstractAxisConfigurator
- Throws:
org.apache.axis2.AxisFault
-
addService
public void addService(org.pentaho.platform.api.engine.IServiceConfig ws)
- Specified by:
addService
in classAbstractAxisConfigurator
-
getWebServiceDefinitions
protected List<org.pentaho.platform.api.engine.IServiceConfig> getWebServiceDefinitions()
Description copied from class:AbstractAxisConfigurator
Returns a list of the web service wrappers for this implmentation- Specified by:
getWebServiceDefinitions
in classAbstractAxisConfigurator
- Returns:
-
addTransports
protected void addTransports(org.apache.axis2.description.AxisService axisService)
Description copied from class:AbstractAxisConfigurator
Adds any implementation-specific transports for a Axis service- Specified by:
addTransports
in classAbstractAxisConfigurator
- Parameters:
axisService
- The Axis web service to add end points to
-
addServiceEndPoints
protected void addServiceEndPoints(org.apache.axis2.description.AxisService axisService)
Description copied from class:AbstractAxisConfigurator
Adds any implementation-specific web service endpoints for a Axis service- Specified by:
addServiceEndPoints
in classAbstractAxisConfigurator
- Parameters:
axisService
- The Axis web service to add end points to
-
-