public class ServiceGroupContext extends AbstractContext implements java.io.Externalizable, SafeSerializable
COPY_PROPERTIES, lastTouchedTime, parent, properties| Constructor and Description |
|---|
ServiceGroupContext() |
ServiceGroupContext(ConfigurationContext parent,
AxisServiceGroup axisServiceGroup) |
| Modifier and Type | Method and Description |
|---|---|
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<ServiceContext> |
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.
|
clearPropertyDifferences, flush, getLastTouchedTime, getLocalProperty, getParent, getProperties, getProperty, getPropertyDifferences, getPropertyNames, getPropertyNonReplicable, isAncestor, mergeProperties, removeProperty, removePropertyNonReplicable, setLastTouchedTime, setNonReplicableProperty, setParent, setProperties, setProperty, touchpublic ServiceGroupContext()
public ServiceGroupContext(ConfigurationContext parent, AxisServiceGroup axisServiceGroup)
public AxisServiceGroup getDescription()
public java.lang.String getId()
public ServiceContext getServiceContext(AxisService service) throws AxisFault
service - the AxisService for which to get a contextAxisFault - if something goes wrongpublic java.util.Iterator<ServiceContext> 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 ServiceContextpublic ServiceContext findServiceContext(AxisService axisSrv)
axisSrv - the AxisService whose context we're looking forpublic void putContextProperties(ServiceGroupContext context)
context - The ServiceGroupContext object to hold the merged propertiespublic void writeExternal(java.io.ObjectOutput o)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The stream to write the object contents tojava.io.IOExceptionpublic 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 fromjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void activate(ConfigurationContext cc)
cc - the active ConfigurationContextpublic boolean isEquivalent(ServiceGroupContext ctx)
ctx - The object to compare withpublic ConfigurationContext getRootContext()
getRootContext in class AbstractContextCopyright © 2004-2024 The Apache Software Foundation. All Rights Reserved.