public abstract class AbstractAxisConfigurator
extends org.pentaho.platform.engine.core.system.PentahoBase
implements org.apache.axis2.engine.AxisConfigurator
Modifier and Type | Field and Description |
---|---|
protected org.apache.axis2.engine.AxisConfiguration |
axisConfig |
protected boolean |
loaded |
protected org.pentaho.platform.api.engine.IPentahoSession |
session |
Constructor and Description |
---|
AbstractAxisConfigurator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addService(org.pentaho.platform.api.engine.IServiceConfig ws) |
protected abstract void |
addServiceEndPoints(org.apache.axis2.description.AxisService axisService)
Adds any implementation-specific web service endpoints for a Axis service
|
protected abstract void |
addTransports(org.apache.axis2.description.AxisService axisService)
Adds any implementation-specific transports for a Axis service
|
void |
cleanup()
An AxisConfigurator method that we don't need
|
void |
engageGlobalModules()
An AxisConfigurator method that we don't need
|
org.apache.axis2.engine.AxisConfiguration |
getAxisConfiguration()
Creates the AxisConfiguration object using an XML document.
|
abstract InputStream |
getConfigXml() |
abstract org.apache.commons.logging.Log |
getLogger() |
org.pentaho.platform.api.engine.IServiceConfig |
getWebServiceDefinition(String name) |
protected abstract List<org.pentaho.platform.api.engine.IServiceConfig> |
getWebServiceDefinitions()
Returns a list of the web service wrappers for this implmentation
|
abstract void |
init() |
protected void |
loadService(org.pentaho.platform.api.engine.IServiceConfig wsDef)
Loads a web service from a web service wrapper
|
void |
loadServices()
Load the web services from the list of web service wrappers
|
void |
reloadServices() |
abstract boolean |
setEnabled(String name,
boolean enabled) |
void |
setSession(org.pentaho.platform.api.engine.IPentahoSession session) |
void |
unloadServices() |
protected org.apache.axis2.engine.AxisConfiguration axisConfig
protected org.pentaho.platform.api.engine.IPentahoSession session
protected boolean loaded
public abstract org.apache.commons.logging.Log getLogger()
getLogger
in class org.pentaho.platform.engine.core.system.PentahoBase
public abstract void addService(org.pentaho.platform.api.engine.IServiceConfig ws)
public void reloadServices() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void unloadServices() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public org.pentaho.platform.api.engine.IServiceConfig getWebServiceDefinition(String name)
public org.apache.axis2.engine.AxisConfiguration getAxisConfiguration() throws org.apache.axis2.AxisFault
getAxisConfiguration
in interface org.apache.axis2.engine.AxisConfigurator
org.apache.axis2.AxisFault
public abstract InputStream getConfigXml()
public abstract boolean setEnabled(String name, boolean enabled) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public abstract void init()
protected abstract void addServiceEndPoints(org.apache.axis2.description.AxisService axisService)
axisService
- The Axis web service to add end points toprotected abstract void addTransports(org.apache.axis2.description.AxisService axisService)
axisService
- The Axis web service to add end points toprotected abstract List<org.pentaho.platform.api.engine.IServiceConfig> getWebServiceDefinitions()
public void loadServices()
loadServices
in interface org.apache.axis2.engine.AxisConfigurator
protected void loadService(org.pentaho.platform.api.engine.IServiceConfig wsDef) throws Exception
wrapper
- Web service wrapperException
public void engageGlobalModules() throws org.apache.axis2.AxisFault
engageGlobalModules
in interface org.apache.axis2.engine.AxisConfigurator
org.apache.axis2.AxisFault
public void cleanup()
cleanup
in interface org.apache.axis2.engine.AxisConfigurator
public void setSession(org.pentaho.platform.api.engine.IPentahoSession session)
Copyright © 2021 Hitachi Vantara. All rights reserved.