@ManagedAttribute @Description("Policy associated with Endpoint") public String policy() { return endpoint.getPolicyMap() != null ? endpoint.getPolicyMap().toString() : null; }
@ManagedAttribute @Description("Policy associated with Endpoint") public String policy() { return endpoint.getPolicyMap() != null ? endpoint.getPolicyMap().toString() : null; }
@ManagedAttribute @Description("Policy associated with Endpoint") public String policy() { return endpoint.getPolicyMap() != null ? endpoint.getPolicyMap().toString() : null; }
public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context) { this.wrappedContext = context; this.policyMap = context.getEndpoint().getPolicyMap(); }
public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context) { this.wrappedContext = context; this.policyMap = context.getEndpoint().getPolicyMap(); }
public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context) { this.wrappedContext = context; this.policyMap = context.getEndpoint().getPolicyMap(); }
/** * Return ManagedService assertion if there is one associated with the endpoint. * * @param endpoint The endpoint. Must not be null. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the endpoint failed. */ public static ManagedServiceAssertion getAssertion(WSEndpoint endpoint) throws WebServiceException { LOGGER.entering(endpoint); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = endpoint.getPolicyMap(); final ManagedServiceAssertion assertion = ManagementAssertion.getAssertion(MANAGED_SERVICE_QNAME, policyMap, endpoint.getServiceName(), endpoint.getPortName(), ManagedServiceAssertion.class); LOGGER.exiting(assertion); return assertion; }
/** * Return ManagedService assertion if there is one associated with the endpoint. * * @param endpoint The endpoint. Must not be null. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the endpoint failed. */ public static ManagedServiceAssertion getAssertion(WSEndpoint endpoint) throws WebServiceException { LOGGER.entering(endpoint); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = endpoint.getPolicyMap(); final ManagedServiceAssertion assertion = ManagementAssertion.getAssertion(MANAGED_SERVICE_QNAME, policyMap, endpoint.getServiceName(), endpoint.getPortName(), ManagedServiceAssertion.class); LOGGER.exiting(assertion); return assertion; }
/** * Return ManagedService assertion if there is one associated with the endpoint. * * @param endpoint The endpoint. Must not be null. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the endpoint failed. */ public static ManagedServiceAssertion getAssertion(WSEndpoint endpoint) throws WebServiceException { LOGGER.entering(endpoint); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = endpoint.getPolicyMap(); final ManagedServiceAssertion assertion = ManagementAssertion.getAssertion(MANAGED_SERVICE_QNAME, policyMap, endpoint.getServiceName(), endpoint.getPortName(), ManagedServiceAssertion.class); LOGGER.exiting(assertion); return assertion; }