public abstract class JaxbOpenejb
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JaxbOpenejb.NamespaceFilter |
Modifier and Type | Field and Description |
---|---|
static java.lang.ThreadLocal<java.util.Set<java.lang.String>> |
currentPublicId |
Constructor and Description |
---|
JaxbOpenejb() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
create(java.lang.Class<T> type) |
static <T> T |
create(java.lang.String type) |
static ConnectionManager |
createConnectionManager() |
static Connector |
createConnector() |
static Container |
createContainer() |
static Deployments |
createDeployments() |
static JndiProvider |
createJndiProvider() |
static Openejb |
createOpenejb() |
static ProxyFactory |
createProxyFactory() |
static Resource |
createResource() |
static SecurityService |
createSecurityService() |
static Service |
createService() |
static ServiceProvider |
createServiceProvider() |
static ServicesJar |
createServicesJar() |
static SystemProperty |
createSystemProperty() |
static TransactionManager |
createTransactionManager() |
static <T> javax.xml.bind.JAXBContext |
getContext(java.lang.Class<T> type) |
static <T> java.lang.String |
marshal(java.lang.Class<T> type,
java.lang.Object object) |
static <T> void |
marshal(java.lang.Class<T> type,
java.lang.Object object,
java.io.OutputStream out) |
static ServicesJar |
parseServicesJar(java.io.InputStream in) |
static Openejb |
readConfig(org.xml.sax.InputSource in) |
static Openejb |
readConfig(java.lang.String configFile) |
static ServicesJar |
readServicesJar(java.lang.String providerPath) |
static <T> T |
unmarshal(java.lang.Class<T> type,
java.io.InputStream in) |
static <T> T |
unmarshal(java.lang.Class<T> type,
java.io.InputStream in,
boolean filter) |
static void |
writeConfig(java.lang.String configFile,
Openejb openejb) |
public static final java.lang.ThreadLocal<java.util.Set<java.lang.String>> currentPublicId
public static <T> T create(java.lang.Class<T> type)
public static <T> T create(java.lang.String type)
public static ServicesJar readServicesJar(java.lang.String providerPath) throws OpenEJBException
OpenEJBException
public static ServicesJar parseServicesJar(java.io.InputStream in) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public static Openejb readConfig(java.lang.String configFile) throws OpenEJBException
OpenEJBException
public static Openejb readConfig(org.xml.sax.InputSource in) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public static void writeConfig(java.lang.String configFile, Openejb openejb) throws OpenEJBException
OpenEJBException
public static <T> java.lang.String marshal(java.lang.Class<T> type, java.lang.Object object) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static <T> void marshal(java.lang.Class<T> type, java.lang.Object object, java.io.OutputStream out) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static <T> javax.xml.bind.JAXBContext getContext(java.lang.Class<T> type) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static <T> T unmarshal(java.lang.Class<T> type, java.io.InputStream in, boolean filter) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
public static <T> T unmarshal(java.lang.Class<T> type, java.io.InputStream in) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.bind.JAXBException
public static ConnectionManager createConnectionManager()
public static Connector createConnector()
public static Container createContainer()
public static Deployments createDeployments()
public static Service createService()
public static SystemProperty createSystemProperty()
public static JndiProvider createJndiProvider()
public static Openejb createOpenejb()
public static ProxyFactory createProxyFactory()
public static Resource createResource()
public static SecurityService createSecurityService()
public static ServiceProvider createServiceProvider()
public static ServicesJar createServicesJar()
public static TransactionManager createTransactionManager()