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
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:
-
Field Summary
Fields inherited from class org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
axisConfig, loaded, session
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
org.apache.commons.logging.Log
protected List<org.pentaho.platform.api.engine.IServiceConfig>
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
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
-
Field Details
-
wsDfns
-
-
Constructor Details
-
SystemSolutionAxisConfigurator
public SystemSolutionAxisConfigurator()
-
-
Method Details
-
getLogger
public org.apache.commons.logging.Log getLogger()- Specified by:
getLogger
in classAbstractAxisConfigurator
-
init
public void init()- Specified by:
init
in classAbstractAxisConfigurator
-
getAxisConfigPath
-
getConfigXml
- Specified by:
getConfigXml
in classAbstractAxisConfigurator
-
setEnabled
- 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
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
-