activate(ConfigurationContext cc) This method checks to see if additional work needs to be
done in order to complete the object reconstitution.
Some parts of the object restored from the readExternal()
cannot be completed until we have a configurationContext
from the active engine.
getLogCorrelationIDString() Get the ID associated with this object instance.
A string that can be output to a log file as an identifierfor this object instance.
isEquivalent(ServiceContext ctx) Compares key parts of the state from the current instance of
this class with the specified instance to see if they are
equivalent.
public void
putContextProperties(ServiceContext context, boolean doParentProperties) This will do a copy of the properties from this context object
to the properties of the specified context object.
public void
readExternal(ObjectInput in) Restore the contents of the object that was previously saved.
NOTE: The field data must read back in the same order and type
as it was written.
Constructor (package access, should only be used by ServiceGroupContext)
Parameters: axisService - the AxisService for which to create a context Parameters: serviceGroupContext - the parent ServiceGroupContext
This method checks to see if additional work needs to be
done in order to complete the object reconstitution.
Some parts of the object restored from the readExternal()
cannot be completed until we have a configurationContext
from the active engine. The configurationContext is used
to help this object to plug back into the engine's
configuration and deployment objects.
Parameters: cc - The configuration context object representing the active configuration
Get the ID associated with this object instance.
A string that can be output to a log file as an identifierfor this object instance. It is suitable for matching related logentries.
To get the ERP for a given service , if the transport is present and not
running then it will add as a listener to ListenerManager , there it will
init that and start the listener , and finally ask the EPR from transport
for a given service
Parameters: transport - : Name of the transport throws: AxisFault -
Returns a name associated with this ServiceContext.
Note: this name is from the corresponding
AxisService object.
The name string, or null if no name can be found
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 - TRUE if this object is equivalent with the specified objectthat is, key fields matchFALSE, otherwise
putContextProperties
public void putContextProperties(ServiceContext context, boolean doParentProperties)(Code)
This will do a copy of the properties from this context object
to the properties of the specified context object.
Parameters: context - The ServiceContext object to hold the merged properties Parameters: doParentProperties - Indicates whether to go up the context hierachycopy the properties at each level
Restore the contents of the object that was previously saved.
NOTE: The field data must read back in the same order and type
as it was written. Some data will need to be validated when
resurrected.
Parameters: in - The stream to read the object contents from throws: IOException - throws: ClassNotFoundException -
setCachingOperationContext
public void setCachingOperationContext(boolean cacheLastOperationContext)(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 -
Fields inherited from org.apache.axis2.context.AbstractContext