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
FieldsFields inherited from class org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
axisConfig, loaded, sessionFields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATORFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddService(org.pentaho.platform.api.engine.IServiceConfig ws) protected voidaddServiceEndPoints(org.apache.axis2.description.AxisService axisService) Adds any implementation-specific web service endpoints for a Axis serviceprotected voidaddTransports(org.apache.axis2.description.AxisService axisService) Adds any implementation-specific transports for a Axis servicestatic Stringorg.apache.commons.logging.Logprotected List<org.pentaho.platform.api.engine.IServiceConfig>Returns a list of the web service wrappers for this implmentationvoidinit()booleansetEnabled(String name, boolean enabled) Methods inherited from class org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
cleanup, engageGlobalModules, getAxisConfiguration, getWebServiceDefinition, loadService, loadServices, reloadServices, setSession, unloadServicesMethods 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:
getLoggerin classAbstractAxisConfigurator
-
init
public void init()- Specified by:
initin classAbstractAxisConfigurator
-
getAxisConfigPath
-
getConfigXml
- Specified by:
getConfigXmlin classAbstractAxisConfigurator
-
setEnabled
- Specified by:
setEnabledin classAbstractAxisConfigurator- Throws:
org.apache.axis2.AxisFault
-
addService
public void addService(org.pentaho.platform.api.engine.IServiceConfig ws) - Specified by:
addServicein classAbstractAxisConfigurator
-
getWebServiceDefinitions
Description copied from class:AbstractAxisConfiguratorReturns a list of the web service wrappers for this implmentation- Specified by:
getWebServiceDefinitionsin classAbstractAxisConfigurator- Returns:
-
addTransports
protected void addTransports(org.apache.axis2.description.AxisService axisService) Description copied from class:AbstractAxisConfiguratorAdds any implementation-specific transports for a Axis service- Specified by:
addTransportsin 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:AbstractAxisConfiguratorAdds any implementation-specific web service endpoints for a Axis service- Specified by:
addServiceEndPointsin classAbstractAxisConfigurator- Parameters:
axisService- The Axis web service to add end points to
-