Class StaticApplicationContext
java.lang.Object
com.sun.xml.wss.impl.configuration.StaticApplicationContext
- All Implemented Interfaces:
StaticPolicyContext
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
Servicelevel - At a JAXRPC
Portlevel - At a JAXRPC
Operationlevel
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidCopy operatorbooleanequals operatorbooleanequals operatorgetUUID()inthashCode()booleanvoidisOperation(boolean isOperation) Set if this context represents an OperationbooleanisPort()voidisPort(boolean isPort) Set if this context represents a PortbooleanvoidisService(boolean isService) Set if this context represents a ServicevoidsetApplicationContextRoot(String ctxRoot) voidsetOperationIdentifier(String operation) Set the Operation identifiervoidsetPortIdentifier(String port) Set the port identifiervoidsetServiceIdentifier(String service) Set the service identifiervoidSet the Unique ID associated with the Service contexttoString()
-
Constructor Details
-
StaticApplicationContext
public StaticApplicationContext()Default constructor -
StaticApplicationContext
Copy constructor- Parameters:
context- StaticApplicationContext
-
-
Method Details
-
isService
public void isService(boolean isService) Set if this context represents a Service- Parameters:
isService- set to true if this is a service level context
-
isService
public boolean isService()- Returns:
- true if this context represents a Service
-
isPort
public void isPort(boolean isPort) Set if this context represents a Port- Parameters:
isPort- set to true if this is a port level context
-
isPort
public boolean isPort()- Returns:
- true if this context represents a Port
-
isOperation
public void isOperation(boolean isOperation) Set if this context represents an Operation- Parameters:
isOperation- set to true if this is an Operation level context
-
isOperation
public boolean isOperation()- Returns:
- true if this context represents an Operation
-
setServiceIdentifier
Set the service identifier- Parameters:
service- the Service Identifier
-
getServiceIdentifier
- Returns:
- the service identifier
-
setPortIdentifier
Set the port identifier- Parameters:
port- the Port Identifier
-
getPortIdentifier
- Returns:
- the port identifier
-
setOperationIdentifier
Set the Operation identifier- Parameters:
operation- the Operation Identifier
-
getOperationIdentifier
- Returns:
- the Operation identifier
-
setUUID
Set the Unique ID associated with the Service context- Parameters:
uuid- the unique id associated with the Service
-
getUUID
- Returns:
- the Unique ID associated with the Service context
-
setApplicationContextRoot
- Parameters:
ctxRoot- the Application Context Root/Identifier for the application
-
getApplicationContextRoot
- Returns:
- the Application Context Root/Identifier for the application (if any)
-
copy
Copy operator- Parameters:
ctx- the StaticApplicationContext to copy from
-
equals
equals operator -
equals
equals operator- Parameters:
ctx- the StaticApplicationContext to be compared with this context for equality- Returns:
- true if the argument context is equal to this context
-
hashCode
public int hashCode() -
toString
-