01: /*
02: * SAML20JAXBUtil.java
03: *
04: * Created on September 24, 2006, 10:57 AM
05: *
06: * To change this template, choose Tools | Template Manager
07: * and open the template in the editor.
08: */
09:
10: package com.sun.xml.wss.saml.util;
11:
12: import javax.xml.bind.JAXBContext;
13: import javax.xml.bind.JAXBException;
14: import javax.xml.ws.WebServiceException;
15:
16: /**
17: *
18: * @author root
19: */
20: public class SAML20JAXBUtil {
21:
22: /** Creates a new instance of SAML20JAXBUtil */
23: public static final JAXBContext jaxbContext;
24: static {
25: try {
26: jaxbContext = JAXBContext
27: .newInstance("com.sun.xml.wss.saml.internal.saml20.jaxb20");
28:
29: } catch (JAXBException je) {
30: throw new WebServiceException(je);
31: }
32: }
33:
34: public static JAXBContext getJAXBContext() {
35: return jaxbContext;
36: }
37: }
|