org.apache.axis2.description
Class AxisServiceGroup

java.lang.Object
  extended by org.apache.axis2.description.AxisDescription
      extended by org.apache.axis2.description.AxisServiceGroup
All Implemented Interfaces:
DescriptionConstants, ParameterInclude

public class AxisServiceGroup
extends AxisDescription


Field Summary
 
Fields inherited from class org.apache.axis2.description.AxisDescription
engagedModules, parameterObservers, parent
 
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
 
Constructor Summary
AxisServiceGroup()
           
AxisServiceGroup(AxisConfiguration axisDescription)
           
 
Method Summary
 void addModuleConfig(ModuleConfiguration moduleConfiguration)
          Adds module configuration, if there is moduleConfig tag in service.
 void addModuleref(java.lang.String moduleref)
           
 void addService(AxisService service)
           
 void addToGroup(AxisService service)
          Deprecated. please use addService() instead
 java.lang.Object getKey()
           
 ModuleConfiguration getModuleConfig(java.lang.String moduleName)
           
 java.util.ArrayList getModuleRefs()
           
 AxisService getService(java.lang.String name)
           
 java.lang.ClassLoader getServiceGroupClassLoader()
           
 java.lang.String getServiceGroupName()
           
 java.util.Iterator getServices()
           
 boolean isFoundWebResources()
           
 void onDisengage(AxisModule module)
           
protected  void onEngage(AxisModule module, AxisDescription engager)
          When a module gets engaged on a ServiceGroup, we have to engage it for each Service.
 void removeService(java.lang.String name)
           
 void setAxisDescription(AxisConfiguration axisDescription)
           
 void setFoundWebResources(boolean foundWebResources)
           
 void setServiceGroupClassLoader(java.lang.ClassLoader serviceGroupClassLoader)
           
 void setServiceGroupName(java.lang.String serviceGroupName)
           
 
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
 

Constructor Detail

AxisServiceGroup

public AxisServiceGroup()

AxisServiceGroup

public AxisServiceGroup(AxisConfiguration axisDescription)
Method Detail

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 AxisModule
engager -
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.