org.apache.axis2.description
Class AxisServiceGroup
java.lang.Object
org.apache.axis2.description.AxisDescription
org.apache.axis2.description.AxisServiceGroup
- All Implemented Interfaces:
- DescriptionConstants, ParameterInclude
public class AxisServiceGroup
- extends AxisDescription
Fields inherited from interface org.apache.axis2.description.DescriptionConstants |
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS_NAME, STYLE_KEY |
Methods inherited from class org.apache.axis2.description.AxisDescription |
addChild, addChild, addParameter, addParameter, addParameterObserver, applyPolicy, applyPolicy, deserializeParameters, disengageModule, engageModule, engageModule, getAxisConfiguration, getChild, getChildren, getDocumentation, getDocumentationNode, getEngagedModules, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, getPolicySubject, isEngaged, isEngaged, isParameterLocked, isParameterTrue, removeChild, removeParameter, removeParameterObserver, setDocumentation, setDocumentation, setParent, setPolicyInclude |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxisServiceGroup
public AxisServiceGroup()
AxisServiceGroup
public AxisServiceGroup(AxisConfiguration axisDescription)
addModuleConfig
public void addModuleConfig(ModuleConfiguration moduleConfiguration)
- Adds module configuration, if there is moduleConfig tag in service.
- Parameters:
moduleConfiguration
- the ModuleConfiguration to add
addModuleref
public void addModuleref(java.lang.String moduleref)
addService
public void addService(AxisService service)
throws AxisFault
- Throws:
AxisFault
addToGroup
public void addToGroup(AxisService service)
throws java.lang.Exception
- Deprecated. please use addService() instead
- Parameters:
service
-
- Throws:
java.lang.Exception
onEngage
protected void onEngage(AxisModule module,
AxisDescription engager)
throws AxisFault
- When a module gets engaged on a ServiceGroup, we have to engage it for each Service.
- Overrides:
onEngage
in class AxisDescription
- Parameters:
module
- the newly-engaged AxisModuleengager
-
- Throws:
AxisFault
- if there is a problem
onDisengage
public void onDisengage(AxisModule module)
throws AxisFault
- Overrides:
onDisengage
in class AxisDescription
- Throws:
AxisFault
removeService
public void removeService(java.lang.String name)
throws AxisFault
- Throws:
AxisFault
getModuleConfig
public ModuleConfiguration getModuleConfig(java.lang.String moduleName)
getModuleRefs
public java.util.ArrayList getModuleRefs()
getService
public AxisService getService(java.lang.String name)
throws AxisFault
- Throws:
AxisFault
getServiceGroupClassLoader
public java.lang.ClassLoader getServiceGroupClassLoader()
getServiceGroupName
public java.lang.String getServiceGroupName()
getServices
public java.util.Iterator getServices()
setAxisDescription
public void setAxisDescription(AxisConfiguration axisDescription)
setServiceGroupClassLoader
public void setServiceGroupClassLoader(java.lang.ClassLoader serviceGroupClassLoader)
setServiceGroupName
public void setServiceGroupName(java.lang.String serviceGroupName)
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in class AxisDescription
isFoundWebResources
public boolean isFoundWebResources()
setFoundWebResources
public void setFoundWebResources(boolean foundWebResources)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.