Java源码示例:com.sun.xml.internal.ws.policy.PolicyMapMutator
示例1
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例2
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例3
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例4
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例5
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例6
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例7
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例8
/**
* Iterates all the registered PolicyBuilders and lets them populate
* their changes into PolicyMap. Registers mutators from collection given as a parameter
* with the newly created map.
*/
private PolicyMap getNewPolicyMap(final PolicyMapMutator... externalMutators) throws PolicyException{
final HashSet<PolicyMapMutator> mutators = new HashSet<PolicyMapMutator>();
final PolicyMapExtender myExtender = PolicyMapExtender.createPolicyMapExtender();
mutators.add(myExtender);
if (null != externalMutators) {
mutators.addAll(Arrays.asList(externalMutators));
}
final PolicyMap policyMap = PolicyMap.createPolicyMap(mutators);
for(BuilderHandler builder : policyBuilders){
builder.populate(myExtender);
}
return policyMap;
}
示例9
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例10
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例11
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例12
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例13
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例14
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例15
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例16
public Collection<PolicyMapMutator> getMutators() {
return mutators;
}
示例17
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = true;
this.mutators = Arrays.asList(mutators);
}
示例18
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = hasWsdl;
this.mutators = Arrays.asList(mutators);
}
示例19
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = true;
this.mutators = Arrays.asList(mutators);
}
示例20
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = hasWsdl;
this.mutators = Arrays.asList(mutators);
}
示例21
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = true;
this.mutators = Arrays.asList(mutators);
}
示例22
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = hasWsdl;
this.mutators = Arrays.asList(mutators);
}
示例23
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = true;
this.mutators = Arrays.asList(mutators);
}
示例24
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = hasWsdl;
this.mutators = Arrays.asList(mutators);
}
示例25
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = true;
this.mutators = Arrays.asList(mutators);
}
示例26
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = hasWsdl;
this.mutators = Arrays.asList(mutators);
}
示例27
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = true;
this.mutators = Arrays.asList(mutators);
}
示例28
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = hasWsdl;
this.mutators = Arrays.asList(mutators);
}
示例29
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = true;
this.mutators = Arrays.asList(mutators);
}
示例30
/**
* The abstraction of PolicyMap is not finalized, and will change in few months. It is highly discouraged to use
* PolicyMap until it is finalized.
*
* In presence of WSDL, JAX-WS by default creates PolicyMap from Policy Attachemnts in WSDL.
* In absense of WSDL, JAX-WS creates PolicyMap from WebServiceFeatures configured on the endpoint implementation
*
* @param policyMap
* PolicyMap created from PolicyAttachments in WSDL or Feature annotations on endpoint implementation class.
* @param container
* @param endpointClass
* @param hasWsdl Set to true, if this service is bundled with WSDL, false otherwise
* @param mutators
* List of PolicyMapMutators that are run eventually when a PolicyMap is created
*/
public ServerContext(@Nullable PolicyMap policyMap, Container container,
Class endpointClass, boolean hasWsdl, final PolicyMapMutator... mutators) {
this.policyMap = policyMap;
this.endpointClass = endpointClass;
this.container = container;
this.hasWsdl = hasWsdl;
this.mutators = Arrays.asList(mutators);
}