org.pentaho.platform.plugin.services.webservices
Class AbstractAxisConfigurator
java.lang.Object
org.pentaho.platform.engine.core.system.PentahoBase
org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
- All Implemented Interfaces:
- Serializable, ILogger
- Direct Known Subclasses:
- SystemSolutionAxisConfigurator
public abstract class AbstractAxisConfigurator
- extends PentahoBase
- See Also:
- Serialized Form
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 |
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 |
AbstractAxisConfigurator
public AbstractAxisConfigurator()
getLogger
public abstract Log getLogger()
- Specified by:
getLogger
in class PentahoBase
addService
public abstract void addService(IServiceConfig ws)
reloadServices
public void reloadServices()
throws AxisFault
- Throws:
AxisFault
unloadServices
public void unloadServices()
throws AxisFault
- Throws:
AxisFault
getWebServiceDefinition
public IServiceConfig getWebServiceDefinition(String name)
getAxisConfiguration
public AxisConfiguration getAxisConfiguration()
throws AxisFault
- Creates the AxisConfiguration object using an XML document.
Subclasses of this class must provide the XML via an input stream.
The concrete implementation can store the XML file wherever it
wants as we only need an InputStream
- Throws:
AxisFault
getConfigXml
public abstract InputStream getConfigXml()
setEnabled
public abstract boolean setEnabled(String name,
boolean enabled)
throws AxisFault
- Throws:
AxisFault
init
public abstract void init()
loadServices
public void loadServices()
- Load the web services from the list of web service wrappers
engageGlobalModules
public void engageGlobalModules()
throws AxisFault
- An AxisConfigurator method that we don't need
- Throws:
AxisFault
cleanup
public void cleanup()
- An AxisConfigurator method that we don't need
setSession
public void setSession(IPentahoSession session)