| |
|
| java.lang.Object org.apache.axis2.context.AbstractContext org.apache.axis2.context.ServiceGroupContext
ServiceGroupContext | public ServiceGroupContext()(Code) | | |
activate | public void activate(ConfigurationContext cc)(Code) | | Some parts of the object restored from the
readExternal deserialization work cannot be completed until
we have a configurationContext. This method checks to see
if additional work needs to be done in order to complete
the object reconstitution.
Parameters: cc - the active ConfigurationContext |
addServiceContext | public void addServiceContext(ServiceContext srvctx)(Code) | | Adds the specified service context object to the
lists of service contexts for this service group
context.
Parameters: srvctx - The ServiceContext object to add |
findServiceContext | public ServiceContext findServiceContext(String name)(Code) | | Finds the service context object that corresponds
to the specified name from the list
of service contexts for this service group
context.
Parameters: name - The name associated with the ServiceContext The ServiceContext associated with the name,or null, if none can be found |
findServiceContext | public ServiceContext findServiceContext(AxisService axisSrv)(Code) | | Finds the service context object that corresponds
to the specified AxisService from the list
of service contexts for this service group
context.
Parameters: axisSrv - the AxisService whose context we're looking for The ServiceContext associated with the AxisServiceor null, if none can be found |
getServiceContext | public ServiceContext getServiceContext(AxisService service) throws AxisFault(Code) | | 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 - the AxisService for which to get a context Returns ServiceContext. throws: AxisFault - if something goes wrong |
isEquivalent | public boolean isEquivalent(ServiceGroupContext ctx)(Code) | | Compares key parts of the state from the current instance of
this class with the specified instance to see if they are
equivalent.
This differs from the java.lang.Object.equals() method in
that the equals() method generally looks at both the
object identity (location in memory) and the object state
(data).
Parameters: ctx - The object to compare with TRUE if this object is equivalent with the specified objectthat is, key fields matchFALSE, otherwise |
putContextProperties | public void putContextProperties(ServiceGroupContext context)(Code) | | This will do a copy of the properties from this context object
to the properties of the specified context object.
Parameters: context - The ServiceGroupContext object to hold the merged properties |
writeExternal | public void writeExternal(ObjectOutput out) throws IOException(Code) | | Save the contents of this object.
NOTE: Transient fields and static fields are not saved.
Also, objects that represent "static" data are
not saved, except for enough information to be
able to find matching objects when the message
context is re-constituted.
Parameters: out - The stream to write the object contents to throws: IOException - |
|
|
|