|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.context.AbstractContext
org.apache.axis2.context.ServiceGroupContext
public class ServiceGroupContext
| Field Summary |
|---|
| Fields inherited from class org.apache.axis2.context.AbstractContext |
|---|
COPY_PROPERTIES, lastTouchedTime, parent, properties |
| Constructor Summary | |
|---|---|
ServiceGroupContext()
|
|
ServiceGroupContext(ConfigurationContext parent,
AxisServiceGroup axisServiceGroup)
|
|
| Method Summary | |
|---|---|
void |
activate(ConfigurationContext cc)
Some parts of the object restored from the readExternal deserialization work cannot be completed until we have a configurationContext. |
void |
addServiceContext(ServiceContext srvctx)
Adds the specified service context object to the lists of service contexts for this service group context. |
ServiceContext |
findServiceContext(AxisService axisSrv)
Finds the service context object that corresponds to the specified AxisService from the list of service contexts for this service group context. |
ServiceContext |
findServiceContext(java.lang.String name)
Finds the service context object that corresponds to the specified name from the list of service contexts for this service group context. |
AxisServiceGroup |
getDescription()
|
java.lang.String |
getId()
|
ConfigurationContext |
getRootContext()
|
ServiceContext |
getServiceContext(AxisService service)
Gets a service context. |
java.util.Iterator |
getServiceContexts()
|
boolean |
isEquivalent(ServiceGroupContext ctx)
Compares key parts of the state from the current instance of this class with the specified instance to see if they are equivalent. |
void |
putContextProperties(ServiceGroupContext context)
This will do a copy of the properties from this context object to the properties of the specified context object. |
void |
readExternal(java.io.ObjectInput inObject)
Restore the contents of the object that was previously saved. |
void |
setId(java.lang.String id)
|
void |
writeExternal(java.io.ObjectOutput o)
Save the contents of this object. |
| Methods inherited from class org.apache.axis2.context.AbstractContext |
|---|
clearPropertyDifferences, flush, getLastTouchedTime, getLocalProperty, getParent, getProperties, getProperty, getPropertyDifferences, getPropertyNames, getPropertyNonReplicable, isAncestor, mergeProperties, removeProperty, removePropertyNonReplicable, setLastTouchedTime, setNonReplicableProperty, setParent, setProperties, setProperty, touch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceGroupContext()
public ServiceGroupContext(ConfigurationContext parent,
AxisServiceGroup axisServiceGroup)
| Method Detail |
|---|
public AxisServiceGroup getDescription()
public java.lang.String getId()
public ServiceContext getServiceContext(AxisService service)
throws AxisFault
service - the AxisService for which to get a context
AxisFault - if something goes wrongpublic java.util.Iterator getServiceContexts()
public void setId(java.lang.String id)
public void addServiceContext(ServiceContext srvctx)
srvctx - The ServiceContext object to addpublic ServiceContext findServiceContext(java.lang.String name)
name - The name associated with the ServiceContext
public ServiceContext findServiceContext(AxisService axisSrv)
axisSrv - the AxisService whose context we're looking for
public void putContextProperties(ServiceGroupContext context)
context - The ServiceGroupContext object to hold the merged properties
public void writeExternal(java.io.ObjectOutput o)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The stream to write the object contents to
java.io.IOException
public void readExternal(java.io.ObjectInput inObject)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The stream to read the object contents from
java.io.IOException
java.lang.ClassNotFoundExceptionpublic void activate(ConfigurationContext cc)
cc - the active ConfigurationContextpublic boolean isEquivalent(ServiceGroupContext ctx)
ctx - The object to compare with
public ConfigurationContext getRootContext()
getRootContext in class AbstractContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||