org.apache.axis2.engine
Interface AxisConfiguration

All Superinterfaces:
ParameterInclude
All Known Implementing Classes:
AxisConfigurationImpl

public interface AxisConfiguration
extends ParameterInclude

The palce where all the Global states of Axis is kept. All the Global states kept in the EngineRegistry and all the Service states kept in the MessageContext. Other runtime artifacts does not keep states foward from the execution.


Field Summary
static int FAULT_IN_FLOW
          Field FAULT_IN_FLOW
static int FAULT_OUT_FLOW
           
static int INFLOW
          Field INFLOW
static int OUTFLOW
          Field OUTFLOW
 
Method Summary
 void addModule(ModuleDescription module)
          Method addMdoule
 void addService(ServiceDescription service)
          Method addService
 void addServiceGroup(ServiceGroupDescription serviceGroup)
           
 void addTransportIn(TransportInDescription transport)
           
 void addTransportOut(TransportOutDescription transport)
           
 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.Hashtable getFaultyModules()
           
 java.util.Hashtable getFaultyServices()
           
 java.util.ArrayList getInFaultFlow()
           
 java.util.ArrayList getInPhasesUptoAndIncludingPostDispatch()
          This returns
 ModuleDescription getModule(javax.xml.namespace.QName name)
          Modules is read only as they can not deployed while runing
 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)
           
 
Methods inherited from interface org.apache.axis2.description.ParameterInclude
addParameter, getParameter, getParameters
 

Field Detail

INFLOW

public static final int INFLOW
Field INFLOW

See Also:
Constant Field Values

OUTFLOW

public static final int OUTFLOW
Field OUTFLOW

See Also:
Constant Field Values

FAULT_IN_FLOW

public static final int FAULT_IN_FLOW
Field FAULT_IN_FLOW

See Also:
Constant Field Values

FAULT_OUT_FLOW

public static final int FAULT_OUT_FLOW
See Also:
Constant Field Values
Method Detail

getService

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

Parameters:
name -
Returns:
Throws:
AxisFault

addService

public void addService(ServiceDescription service)
                throws AxisFault
Method addService

Parameters:
service -
Throws:
AxisFault

addServiceGroup

public void addServiceGroup(ServiceGroupDescription serviceGroup)
                     throws AxisFault
Throws:
AxisFault

removeService

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

Parameters:
name -
Throws:
AxisFault

getModule

public ModuleDescription getModule(javax.xml.namespace.QName name)
Modules is read only as they can not deployed while runing

Parameters:
name -
Returns:

addModule

public void addModule(ModuleDescription module)
               throws AxisFault
Method addMdoule

Parameters:
module -
Throws:
AxisFault

isEngaged

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

engageModule

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

Parameters:
moduleref -
Throws:
AxisFault

getServices

public java.util.HashMap getServices()

getInPhasesUptoAndIncludingPostDispatch

public java.util.ArrayList getInPhasesUptoAndIncludingPostDispatch()
This returns


getInFaultFlow

public java.util.ArrayList getInFaultFlow()

getFaultyServices

public java.util.Hashtable getFaultyServices()

getFaultyModules

public java.util.Hashtable getFaultyModules()

getTransportIn

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

addTransportIn

public void addTransportIn(TransportInDescription transport)
                    throws AxisFault
Throws:
AxisFault

getTransportOut

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

addTransportOut

public void addTransportOut(TransportOutDescription transport)
                     throws AxisFault
Throws:
AxisFault

getTransportsIn

public java.util.HashMap getTransportsIn()

getTransportsOut

public java.util.HashMap getTransportsOut()

setAxisStorage

public void setAxisStorage(AxisStorage axisStorage)

getAxisStorage

public AxisStorage getAxisStorage()

isParamterLocked

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

getServiceGroup

public ServiceGroupDescription getServiceGroup(java.lang.String serviceNameAndGroupString)

getServiceGroups

public java.util.Iterator getServiceGroups()

notifyObservers

public void notifyObservers(int event_type,
                            ServiceDescription service)