org.pentaho.platform.plugin.services.webservices
Class AbstractAxisConfigurator

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator
All Implemented Interfaces:
Serializable, org.apache.axis2.engine.AxisConfigurator, ILogger
Direct Known Subclasses:
SystemSolutionAxisConfigurator

public abstract class AbstractAxisConfigurator
extends PentahoBase
implements org.apache.axis2.engine.AxisConfigurator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, 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
AbstractAxisConfigurator()
           
 
Method Summary
abstract  void addService(IServiceConfig ws)
           
 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)
           
abstract  void init()
           
 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()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAxisConfigurator

public AbstractAxisConfigurator()
Method Detail

getLogger

public abstract org.apache.commons.logging.Log getLogger()
Specified by:
getLogger in class PentahoBase

addService

public abstract void addService(IServiceConfig ws)

reloadServices

public void reloadServices()
                    throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

unloadServices

public void unloadServices()
                    throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getWebServiceDefinition

public IServiceConfig getWebServiceDefinition(String name)

getAxisConfiguration

public org.apache.axis2.engine.AxisConfiguration getAxisConfiguration()
                                                               throws org.apache.axis2.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

Specified by:
getAxisConfiguration in interface org.apache.axis2.engine.AxisConfigurator
Throws:
org.apache.axis2.AxisFault

getConfigXml

public abstract InputStream getConfigXml()

setEnabled

public abstract boolean setEnabled(String name,
                                   boolean enabled)
                            throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

init

public abstract void init()

loadServices

public void loadServices()
Load the web services from the list of web service wrappers

Specified by:
loadServices in interface org.apache.axis2.engine.AxisConfigurator

engageGlobalModules

public void engageGlobalModules()
                         throws org.apache.axis2.AxisFault
An AxisConfigurator method that we don't need

Specified by:
engageGlobalModules in interface org.apache.axis2.engine.AxisConfigurator
Throws:
org.apache.axis2.AxisFault

cleanup

public void cleanup()
An AxisConfigurator method that we don't need

Specified by:
cleanup in interface org.apache.axis2.engine.AxisConfigurator

setSession

public void setSession(IPentahoSession session)