java.lang .Object com.sun.xml.wss.impl.configuration .StaticApplicationContext StaticApplicationContext final public class StaticApplicationContext implements StaticPolicyContext (Code) This class represents the static context associated with any Security Policy elements
defined in a xwss:JAXRPCSecurity
configuration.
The xwss:JAXRPCSecurity
element supports Security Policies to be specifed
at three levels
At a JAXRPC Service
level
At a JAXRPC Port
level
At a JAXRPC Operation
level
Accordingly the class StaticApplicationContext has methods to identify if the context
represents a Service, Port or Operation, and stores the corresponding context identifiers
StaticApplicationContext public StaticApplicationContext()(Code) Default constructor
StaticApplicationContext public StaticApplicationContext(StaticApplicationContext context)(Code) Copy constructor
Parameters: context - StaticApplicationContext
equals public boolean equals(Object obj)(Code) equals operator
Parameters: obj - the Object to be compared with this context for equality true if the argument object is equal to this context
equals public boolean equals(StaticApplicationContext ctx)(Code) equals operator
Parameters: ctx - the StaticApplicationContext to be compared with this context for equality true if the argument context is equal to this context
getApplicationContextRoot public String getApplicationContextRoot()(Code) the Application Context Root/Identifier for the application (if any)
getOperationIdentifier public String getOperationIdentifier()(Code) the Operation identifier
getPortIdentifier public String getPortIdentifier()(Code) the port identifier
getServiceIdentifier public String getServiceIdentifier()(Code) the service identifier
getUUID public String getUUID()(Code) the Unique ID associated with the Service context
hashCode public int hashCode()(Code) hashcode for this context
isOperation public void isOperation(boolean isOperation)(Code) Set if this context represents an Operation
Parameters: isOperation - set to true if this is an Operation level context
isOperation public boolean isOperation()(Code) true if this context represents an Operation
isPort public void isPort(boolean isPort)(Code) Set if this context represents a Port
Parameters: isPort - set to true if this is a port level context
isPort public boolean isPort()(Code) true if this context represents a Port
isService public void isService(boolean isService)(Code) Set if this context represents a Service
Parameters: isService - set to true if this is a service level context
isService public boolean isService()(Code) true if this context represents a Service
setApplicationContextRoot public void setApplicationContextRoot(String ctxRoot)(Code) Parameters: ctxRoot - the Application Context Root/Identifier for the application
setOperationIdentifier public void setOperationIdentifier(String operation)(Code) Set the Operation identifier
Parameters: operation - the Operation Identifier
setPortIdentifier public void setPortIdentifier(String port)(Code) Set the port identifier
Parameters: port - the Port Identifier
setServiceIdentifier public void setServiceIdentifier(String service)(Code) Set the service identifier
Parameters: service - the Service Identifier
setUUID public void setUUID(String uuid)(Code) Set the Unique ID associated with the Service context
Parameters: uuid - the unique id associated with the Service