org.apache.axis2.engine
Class AxisConfigurationImpl

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

public class AxisConfigurationImpl
extends java.lang.Object
implements AxisConfiguration

Class EngineRegistryImpl


Field Summary
protected  java.util.List engagedModules
          Field modules
protected  java.util.HashMap messagReceivers
           
protected  ParameterInclude paramInclude
          Field paramInclude
protected  PhasesInfo phasesinfo
           
 
Fields inherited from interface org.apache.axis2.engine.AxisConfiguration
FAULT_IN_FLOW, FAULT_OUT_FLOW, INFLOW, OUTFLOW
 
Constructor Summary
AxisConfigurationImpl()
          Constructor EngineRegistryImpl
 
Method Summary
 void addMessageReceiver(java.lang.String key, MessageReceiver messageReceiver)
           
 void addModule(ModuleDescription module)
          Method addMdoule
 void addModuleConfig(ModuleConfiguration moduleConfiguration)
          Adding module configuration , if there is moduleConfig tag in service
 void addObservers(AxisObserver axisObserver)
           
 void addParameter(Parameter param)
          Method addParameter
 void addService(ServiceDescription service)
          Method addService
 void addServiceGroup(ServiceGroupDescription serviceGroup)
           
 void addTransportIn(TransportInDescription transport)
          Method addTransport
 void addTransportOut(TransportOutDescription transport)
          Method addTransport
 void engageModule(javax.xml.namespace.QName moduleref)
          To engage a module at the run time it can be used this method
 AxisStorage getAxisStorage()
           
 java.util.Collection getEngadgedModules()
          Method getEngadgedModules
 java.util.Hashtable getFaultyModules()
           
 java.util.Hashtable getFaultyServices()
           
 java.util.ArrayList getInFaultFlow()
           
 java.util.ArrayList getInPhasesUptoAndIncludingPostDispatch()
          This returns
 MessageReceiver getMessageReceiver(java.lang.String key)
           
 ModuleDescription getModule(javax.xml.namespace.QName name)
          Method getModule
 ModuleConfiguration getModuleConfig(javax.xml.namespace.QName moduleName)
           
 java.util.HashMap getModules()
           
 java.util.ArrayList getOutFaultFlow()
           
 java.util.ArrayList getOutFlow()
           
 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()
           
 ServiceDescription getService(java.lang.String name)
          Method getService
 ServiceGroupDescription getServiceGroup(java.lang.String serviceNameAndGroupString)
           
 java.util.Iterator getServiceGroups()
           
 java.util.HashMap getServices()
           
 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 isParamterLocked(java.lang.String paramterName)
           
 void notifyObservers(int event_type, ServiceDescription service)
           
 void removeService(java.lang.String name)
          Method removeService
 void setAxisStorage(AxisStorage axisStorage)
           
 void setDefaultDispatchers()
          setting the default dispatching order
 void setDispatchPhase(Phase dispatch)
          Setting the custom dispatching order
 void setInFaultPhases(java.util.ArrayList list)
           
 void setOutFaultPhases(java.util.ArrayList list)
           
 void setOutPhases(java.util.ArrayList outPhases)
           
 void setPhasesinfo(PhasesInfo phasesinfo)
           
 void setRepository(java.lang.String axis2Repository)
           
 
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 modules


messagReceivers

protected java.util.HashMap messagReceivers
Constructor Detail

AxisConfigurationImpl

public AxisConfigurationImpl()
Constructor EngineRegistryImpl

Method Detail

setDefaultDispatchers

public void setDefaultDispatchers()
setting the default dispatching order


setDispatchPhase

public void setDispatchPhase(Phase dispatch)
Setting the custom dispatching order

Parameters:
dispatch -

getFaultyServices

public java.util.Hashtable getFaultyServices()
Specified by:
getFaultyServices in interface AxisConfiguration

getFaultyModules

public java.util.Hashtable getFaultyModules()
Specified by:
getFaultyModules in interface AxisConfiguration

addModule

public void addModule(ModuleDescription module)
               throws AxisFault
Method addMdoule

Specified by:
addModule in interface AxisConfiguration
Parameters:
module -
Throws:
AxisFault

addService

public void addService(ServiceDescription service)
                throws AxisFault
Method addService

Specified by:
addService in interface AxisConfiguration
Parameters:
service -
Throws:
AxisFault

addServiceGroup

public void addServiceGroup(ServiceGroupDescription serviceGroup)
                     throws AxisFault
Specified by:
addServiceGroup in interface AxisConfiguration
Throws:
AxisFault

getModule

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

Specified by:
getModule in interface AxisConfiguration
Parameters:
name -
Returns:
ModuleDescription

getModules

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

getService

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

Specified by:
getService in interface AxisConfiguration
Parameters:
name -
Returns:
Throws:
AxisFault

removeService

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

Specified by:
removeService in interface AxisConfiguration
Parameters:
name -
Throws:
AxisFault

getTransportIn

public TransportInDescription getTransportIn(javax.xml.namespace.QName name)
                                      throws AxisFault
Specified by:
getTransportIn in interface AxisConfiguration
Throws:
AxisFault

addTransportIn

public void addTransportIn(TransportInDescription transport)
                    throws AxisFault
Method addTransport

Specified by:
addTransportIn in interface AxisConfiguration
Parameters:
transport -
Throws:
AxisFault

getTransportOut

public TransportOutDescription getTransportOut(javax.xml.namespace.QName name)
                                        throws AxisFault
Specified by:
getTransportOut in interface AxisConfiguration
Throws:
AxisFault

addTransportOut

public void addTransportOut(TransportOutDescription transport)
                     throws AxisFault
Method addTransport

Specified by:
addTransportOut in interface AxisConfiguration
Parameters:
transport -
Throws:
AxisFault

getTransportsIn

public java.util.HashMap getTransportsIn()
Specified by:
getTransportsIn in interface AxisConfiguration

getTransportsOut

public java.util.HashMap getTransportsOut()
Specified by:
getTransportsOut in interface AxisConfiguration

setAxisStorage

public void setAxisStorage(AxisStorage axisStorage)
Specified by:
setAxisStorage in interface AxisConfiguration

getAxisStorage

public AxisStorage getAxisStorage()
Specified by:
getAxisStorage in interface AxisConfiguration

isParamterLocked

public boolean isParamterLocked(java.lang.String paramterName)
Specified by:
isParamterLocked in interface AxisConfiguration

getServiceGroup

public ServiceGroupDescription getServiceGroup(java.lang.String serviceNameAndGroupString)
Specified by:
getServiceGroup in interface AxisConfiguration

getServiceGroups

public java.util.Iterator getServiceGroups()
Specified by:
getServiceGroups in interface AxisConfiguration

setOutPhases

public void setOutPhases(java.util.ArrayList outPhases)

getInPhasesUptoAndIncludingPostDispatch

public java.util.ArrayList getInPhasesUptoAndIncludingPostDispatch()
Description copied from interface: AxisConfiguration
This returns

Specified by:
getInPhasesUptoAndIncludingPostDispatch in interface AxisConfiguration

getOutFlow

public java.util.ArrayList getOutFlow()

getInFaultFlow

public java.util.ArrayList getInFaultFlow()
Specified by:
getInFaultFlow in interface AxisConfiguration
Returns:
ArrayList

getOutFaultFlow

public java.util.ArrayList getOutFaultFlow()
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:
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

getEngadgedModules

public java.util.Collection getEngadgedModules()
Method getEngadgedModules

Returns:
Collection

engageModule

public void engageModule(javax.xml.namespace.QName moduleref)
                  throws AxisFault
Description copied from interface: AxisConfiguration
To engage a module at the run time it can be used this method

Specified by:
engageModule in interface AxisConfiguration
Parameters:
moduleref -
Throws:
AxisFault

getServices

public java.util.HashMap getServices()
Specified by:
getServices in interface AxisConfiguration

isEngaged

public boolean isEngaged(javax.xml.namespace.QName moduleName)
Specified by:
isEngaged in interface AxisConfiguration

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,
                            ServiceDescription service)
Specified by:
notifyObservers in interface AxisConfiguration

addObservers

public void addObservers(AxisObserver axisObserver)

addModuleConfig

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

Parameters:
moduleConfiguration -

getModuleConfig

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