public abstract class AbstractAxisConfigurator extends PentahoBase implements org.apache.axis2.engine.AxisConfigurator
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.axis2.engine.AxisConfiguration |
axisConfig |
protected boolean |
loaded |
protected IPentahoSession |
session |
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATORACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN| Constructor and Description |
|---|
AbstractAxisConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addService(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() |
IServiceConfig |
getWebServiceDefinition(String name) |
protected abstract List<IServiceConfig> |
getWebServiceDefinitions()
Returns a list of the web service wrappers for this implmentation
|
abstract void |
init() |
protected void |
loadService(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(IPentahoSession session) |
void |
unloadServices() |
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warnprotected org.apache.axis2.engine.AxisConfiguration axisConfig
protected IPentahoSession session
protected boolean loaded
public abstract org.apache.commons.logging.Log getLogger()
getLogger in class PentahoBasepublic abstract void addService(IServiceConfig ws)
public void reloadServices()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void unloadServices()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic IServiceConfig getWebServiceDefinition(String name)
public org.apache.axis2.engine.AxisConfiguration getAxisConfiguration()
throws org.apache.axis2.AxisFault
getAxisConfiguration in interface org.apache.axis2.engine.AxisConfiguratororg.apache.axis2.AxisFaultpublic abstract InputStream getConfigXml()
public abstract boolean setEnabled(String name, boolean enabled) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic 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<IServiceConfig> getWebServiceDefinitions()
public void loadServices()
loadServices in interface org.apache.axis2.engine.AxisConfiguratorprotected void loadService(IServiceConfig wsDef) throws Exception
wrapper - Web service wrapperExceptionpublic void engageGlobalModules()
throws org.apache.axis2.AxisFault
engageGlobalModules in interface org.apache.axis2.engine.AxisConfiguratororg.apache.axis2.AxisFaultpublic void cleanup()
cleanup in interface org.apache.axis2.engine.AxisConfiguratorpublic void setSession(IPentahoSession session)
Copyright © 2017 Hitachi Vantara. All rights reserved.