Java Code Examples for com.sun.xml.internal.ws.api.server.WSEndpoint#getPolicyMap()
The following examples show how to use
com.sun.xml.internal.ws.api.server.WSEndpoint#getPolicyMap() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ManagedServiceAssertion.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 2
Source File: ManagedServiceAssertion.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 3
Source File: ManagedServiceAssertion.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 4
Source File: ManagedServiceAssertion.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 5
Source File: ManagedServiceAssertion.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 6
Source File: ManagedServiceAssertion.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 7
Source File: ManagedServiceAssertion.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * 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; }
Example 8
Source File: ManagedServiceAssertion.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * 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; }