org.apache.axis2.engine
Class AxisConfiguration

java.lang.Object
  extended byorg.apache.axis2.engine.AxisConfiguration
All Implemented Interfaces:
ParameterInclude

public class AxisConfiguration
extends java.lang.Object
implements ParameterInclude

Class AxisConfigurationImpl


Field Summary
protected  java.util.List engagedModules
          Field engagedModules
protected  java.util.HashMap messagReceivers
           
protected  ParameterInclude paramInclude
          Field paramInclude
protected  PhasesInfo phasesinfo
           
 
Constructor Summary
AxisConfiguration()
          Constructor AxisConfigurationImpl
 
Method Summary
 void addMessageReceiver(java.lang.String key, MessageReceiver messageReceiver)
           
 void addModule(ModuleDescription module)
          Method addModule.
 void addModuleConfig(ModuleConfiguration moduleConfiguration)
          Adds module configuration, if there is moduleConfig tag in service.
 void addObservers(AxisObserver axisObserver)
           
 void addParameter(Parameter param)
          Method addParameter.
 void addService(AxisService service)
          Method addService.
 void addServiceGroup(AxisServiceGroup axisServiceGroup)
           
 void addTransportIn(TransportInDescription transport)
          Method addTransportIn.
 void addTransportOut(TransportOutDescription transport)
          Method addTransportOut.
 void deserializeParameters(OMElement paramters)
           
 void engageModule(javax.xml.namespace.QName moduleref)
           
 java.util.Collection getEngagedModules()
          Method getEngagedModules.
 java.util.Hashtable getFaultyModules()
           
 java.util.Hashtable getFaultyServices()
           
 java.util.ArrayList getGlobalOutPhases()
           
 HostConfiguration getHostConfiguration()
           
 java.util.ArrayList getInFaultFlow()
           
 java.util.ArrayList getInPhasesUptoAndIncludingPostDispatch()
           
 MessageReceiver getMessageReceiver(java.lang.String key)
           
 ModuleDescription getModule(javax.xml.namespace.QName name)
          Method getModule.
 java.lang.ClassLoader getModuleClassLoader()
           
 ModuleConfiguration getModuleConfig(javax.xml.namespace.QName moduleName)
           
 java.util.HashMap getModules()
           
 java.util.ArrayList getOutFaultFlow()
           
 Parameter getParameter(java.lang.String name)
          Method getParameter.
 java.util.ArrayList getParameters()
          To get all the parameters in a given description
 PhasesInfo getPhasesinfo()
           
 java.lang.String getRepository()
           
 AxisService getService(java.lang.String name)
          Method getService.
 java.lang.ClassLoader getServiceClassLoader()
           
 AxisServiceGroup getServiceGroup(java.lang.String serviceNameAndGroupString)
           
 java.util.Iterator getServiceGroups()
           
 java.util.HashMap getServices()
           
 java.lang.ClassLoader getSystemClassLoader()
           
 TransportInDescription getTransportIn(javax.xml.namespace.QName name)
           
 TransportOutDescription getTransportOut(javax.xml.namespace.QName name)
           
 java.util.HashMap getTransportsIn()
           
 java.util.HashMap getTransportsOut()
           
 boolean isEngaged(javax.xml.namespace.QName moduleName)
           
 boolean isParameterLocked(java.lang.String parameterName)
          Checks whether a given parameter is locked.
 void notifyObservers(int event_type, AxisService service)
           
 void removeService(java.lang.String name)
          Method removeService.
 void setGlobalOutPhase(java.util.ArrayList outPhases)
           
 void setHostConfiguration(HostConfiguration hostConfiguration)
           
 void setInFaultPhases(java.util.ArrayList list)
           
 void setInPhasesUptoAndIncludingPostDispatch(java.util.ArrayList inPhasesUptoAndIncludingPostDispatch)
           
 void setModuleClassLoader(java.lang.ClassLoader classLoader)
           
 void setOutFaultPhases(java.util.ArrayList list)
           
 void setPhasesinfo(PhasesInfo phasesinfo)
           
 void setRepository(java.lang.String axis2Repository)
           
 void setServiceClassLoader(java.lang.ClassLoader classLoader)
           
 void setSystemClassLoader(java.lang.ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paramInclude

protected final ParameterInclude paramInclude
Field paramInclude


phasesinfo

protected PhasesInfo phasesinfo

engagedModules

protected final java.util.List engagedModules
Field engagedModules


messagReceivers

protected java.util.HashMap messagReceivers
Constructor Detail

AxisConfiguration

public AxisConfiguration()
Constructor AxisConfigurationImpl

Method Detail

getFaultyServices

public java.util.Hashtable getFaultyServices()

getFaultyModules

public java.util.Hashtable getFaultyModules()

addModule

public void addModule(ModuleDescription module)
               throws AxisFault
Method addModule.

Parameters:
module -
Throws:
AxisFault

addService

public void addService(AxisService service)
                throws AxisFault
Method addService.

Parameters:
service -
Throws:
AxisFault

addServiceGroup

public void addServiceGroup(AxisServiceGroup axisServiceGroup)
                     throws AxisFault
Throws:
AxisFault

getModule

public ModuleDescription getModule(javax.xml.namespace.QName name)
Method getModule.

Parameters:
name -
Returns:
Returns ModuleDescription.

getModules

public java.util.HashMap getModules()
Returns:
Returns HashMap.

getService

public AxisService getService(java.lang.String name)
                       throws AxisFault
Method getService.

Parameters:
name -
Returns:
Returns AxisService.
Throws:
AxisFault

removeService

public void removeService(java.lang.String name)
                   throws AxisFault
Method removeService.

Parameters:
name -
Throws:
AxisFault

getTransportIn

public TransportInDescription getTransportIn(javax.xml.namespace.QName name)
                                      throws AxisFault
Throws:
AxisFault

addTransportIn

public void addTransportIn(TransportInDescription transport)
                    throws AxisFault
Method addTransportIn.

Parameters:
transport -
Throws:
AxisFault

getTransportOut

public TransportOutDescription getTransportOut(javax.xml.namespace.QName name)
                                        throws AxisFault
Throws:
AxisFault

addTransportOut

public void addTransportOut(TransportOutDescription transport)
                     throws AxisFault
Method addTransportOut.

Parameters:
transport -
Throws:
AxisFault

getTransportsIn

public java.util.HashMap getTransportsIn()

getTransportsOut

public java.util.HashMap getTransportsOut()

isParameterLocked

public boolean isParameterLocked(java.lang.String parameterName)
Checks whether a given parameter is locked.

Specified by:
isParameterLocked in interface ParameterInclude
Parameters:
parameterName -
Returns:
Returns boolean

deserializeParameters

public void deserializeParameters(OMElement paramters)
                           throws AxisFault
Specified by:
deserializeParameters in interface ParameterInclude
Throws:
AxisFault

getServiceGroup

public AxisServiceGroup getServiceGroup(java.lang.String serviceNameAndGroupString)

getServiceGroups

public java.util.Iterator getServiceGroups()

getInPhasesUptoAndIncludingPostDispatch

public java.util.ArrayList getInPhasesUptoAndIncludingPostDispatch()

getGlobalOutPhases

public java.util.ArrayList getGlobalOutPhases()

setGlobalOutPhase

public void setGlobalOutPhase(java.util.ArrayList outPhases)

setInPhasesUptoAndIncludingPostDispatch

public void setInPhasesUptoAndIncludingPostDispatch(java.util.ArrayList inPhasesUptoAndIncludingPostDispatch)

getInFaultFlow

public java.util.ArrayList getInFaultFlow()
Returns:
Returns ArrayList

getOutFaultFlow

public java.util.ArrayList getOutFaultFlow()
Returns:
Returns ArrayList

setInFaultPhases

public void setInFaultPhases(java.util.ArrayList list)
Parameters:
list -

setOutFaultPhases

public void setOutFaultPhases(java.util.ArrayList list)
Parameters:
list -

addMessageReceiver

public void addMessageReceiver(java.lang.String key,
                               MessageReceiver messageReceiver)

getMessageReceiver

public MessageReceiver getMessageReceiver(java.lang.String key)

getParameter

public Parameter getParameter(java.lang.String name)
Method getParameter.

Specified by:
getParameter in interface ParameterInclude
Parameters:
name -
Returns:
Returns Parameter

getParameters

public java.util.ArrayList getParameters()
Description copied from interface: ParameterInclude
To get all the parameters in a given description

Specified by:
getParameters in interface ParameterInclude
Returns:

addParameter

public void addParameter(Parameter param)
                  throws AxisFault
Method addParameter.

Specified by:
addParameter in interface ParameterInclude
Parameters:
param -
Throws:
AxisFault

getEngagedModules

public java.util.Collection getEngagedModules()
Method getEngagedModules.

Returns:
Collection

engageModule

public void engageModule(javax.xml.namespace.QName moduleref)
                  throws AxisFault
Throws:
AxisFault

getServices

public java.util.HashMap getServices()

isEngaged

public boolean isEngaged(javax.xml.namespace.QName moduleName)

getPhasesinfo

public PhasesInfo getPhasesinfo()

setPhasesinfo

public void setPhasesinfo(PhasesInfo phasesinfo)

getRepository

public java.lang.String getRepository()

setRepository

public void setRepository(java.lang.String axis2Repository)

notifyObservers

public void notifyObservers(int event_type,
                            AxisService service)

getSystemClassLoader

public java.lang.ClassLoader getSystemClassLoader()

setSystemClassLoader

public void setSystemClassLoader(java.lang.ClassLoader classLoader)

getServiceClassLoader

public java.lang.ClassLoader getServiceClassLoader()

setServiceClassLoader

public void setServiceClassLoader(java.lang.ClassLoader classLoader)

getModuleClassLoader

public java.lang.ClassLoader getModuleClassLoader()

setModuleClassLoader

public void setModuleClassLoader(java.lang.ClassLoader classLoader)

setHostConfiguration

public void setHostConfiguration(HostConfiguration hostConfiguration)

getHostConfiguration

public HostConfiguration getHostConfiguration()

addObservers

public void addObservers(AxisObserver axisObserver)

addModuleConfig

public void addModuleConfig(ModuleConfiguration moduleConfiguration)
Adds module configuration, if there is moduleConfig tag in service.

Parameters:
moduleConfiguration -

getModuleConfig

public ModuleConfiguration getModuleConfig(javax.xml.namespace.QName moduleName)