org.apache.axis2.context
Class ServiceGroupContext

java.lang.Object
  extended byorg.apache.axis2.context.AbstractContext
      extended byorg.apache.axis2.context.ServiceGroupContext

public class ServiceGroupContext
extends AbstractContext


Field Summary
 
Fields inherited from class org.apache.axis2.context.AbstractContext
lastTouchedTime, parent, properties
 
Constructor Summary
ServiceGroupContext(ConfigurationContext parent, AxisServiceGroup axisServiceGroup)
           
 
Method Summary
 AxisServiceGroup getDescription()
           
 String getId()
           
 ServiceContext getServiceContext(AxisService service)
          Gets a service context.
 Iterator getServiceContexts()
           
 void setId(String id)
           
 
Methods inherited from class org.apache.axis2.context.AbstractContext
getLastTouchedTime, getParent, getProperties, getProperty, setParent, setProperties, setProperty, touch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceGroupContext

public ServiceGroupContext(ConfigurationContext parent,
                           AxisServiceGroup axisServiceGroup)
Method Detail

getDescription

public AxisServiceGroup getDescription()

getId

public String getId()

getServiceContext

public ServiceContext getServiceContext(AxisService service)
                                 throws AxisFault
Gets a service context. Creates a new one from AxisService. There is no need to store service context inside serviceGroup context as well.

Parameters:
service -
Returns:
Returns ServiceContext.
Throws:
AxisFault

getServiceContexts

public Iterator getServiceContexts()

setId

public void setId(String id)