com.sun.xml.internal.ws.developer.MemberSubmissionEndpointReference Java Examples
The following examples show how to use
com.sun.xml.internal.ws.developer.MemberSubmissionEndpointReference.
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: ProviderImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }
Example #2
Source File: ProviderImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }
Example #3
Source File: ProviderImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }
Example #4
Source File: ProviderImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }
Example #5
Source File: ProviderImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }
Example #6
Source File: ProviderImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }
Example #7
Source File: ProviderImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }
Example #8
Source File: ProviderImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private static JAXBContext getEPRJaxbContext() { // EPRs have package and private fields, so we need privilege escalation. // this access only fixed, known set of classes, so doing that // shouldn't introduce security vulnerability. return AccessController.doPrivileged(new PrivilegedAction<JAXBContext>() { public JAXBContext run() { try { return JAXBContext.newInstance(MemberSubmissionEndpointReference.class, W3CEndpointReference.class); } catch (JAXBException e) { throw new WebServiceException("Error creating JAXBContext for W3CEndpointReference. ", e); } } }); }