org.apache.openejb.config.sys
Class JaxbOpenejb

java.lang.Object
  extended by org.apache.openejb.config.sys.JaxbOpenejb

public abstract class JaxbOpenejb
extends Object


Nested Class Summary
static class JaxbOpenejb.NamespaceFilter
           
 
Field Summary
static ThreadLocal<Set<String>> currentPublicId
           
 
Constructor Summary
JaxbOpenejb()
           
 
Method Summary
static
<T> T
create(Class<T> type)
           
static
<T> T
create(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 TransactionManager createTransactionManager()
           
static
<T> JAXBContext
getContext(Class<T> type)
           
static
<T> String
marshal(Class<T> type, Object object)
           
static
<T> void
marshal(Class<T> type, Object object, OutputStream out)
           
static ServicesJar parseServicesJar(InputStream in)
           
static Openejb readConfig(InputSource in)
           
static Openejb readConfig(String configFile)
           
static ServicesJar readServicesJar(String providerPath)
           
static
<T> T
unmarshal(Class<T> type, InputStream in)
           
static
<T> T
unmarshal(Class<T> type, InputStream in, boolean filter)
           
static void writeConfig(String configFile, Openejb openejb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentPublicId

public static final ThreadLocal<Set<String>> currentPublicId
Constructor Detail

JaxbOpenejb

public JaxbOpenejb()
Method Detail

create

public static <T> T create(Class<T> type)

create

public static <T> T create(String type)

readServicesJar

public static ServicesJar readServicesJar(String providerPath)
                                   throws OpenEJBException
Throws:
OpenEJBException

parseServicesJar

public static ServicesJar parseServicesJar(InputStream in)
                                    throws ParserConfigurationException,
                                           SAXException,
                                           IOException
Throws:
ParserConfigurationException
SAXException
IOException

readConfig

public static Openejb readConfig(String configFile)
                          throws OpenEJBException
Throws:
OpenEJBException

readConfig

public static Openejb readConfig(InputSource in)
                          throws IOException,
                                 SAXException,
                                 ParserConfigurationException
Throws:
IOException
SAXException
ParserConfigurationException

writeConfig

public static void writeConfig(String configFile,
                               Openejb openejb)
                        throws OpenEJBException
Throws:
OpenEJBException

marshal

public static <T> String marshal(Class<T> type,
                                 Object object)
                      throws JAXBException
Throws:
JAXBException

marshal

public static <T> void marshal(Class<T> type,
                               Object object,
                               OutputStream out)
                    throws JAXBException
Throws:
JAXBException

getContext

public static <T> JAXBContext getContext(Class<T> type)
                              throws JAXBException
Throws:
JAXBException

unmarshal

public static <T> T unmarshal(Class<T> type,
                              InputStream in,
                              boolean filter)
                   throws ParserConfigurationException,
                          SAXException,
                          JAXBException
Throws:
ParserConfigurationException
SAXException
JAXBException

unmarshal

public static <T> T unmarshal(Class<T> type,
                              InputStream in)
                   throws ParserConfigurationException,
                          SAXException,
                          JAXBException
Throws:
ParserConfigurationException
SAXException
JAXBException

createConnectionManager

public static ConnectionManager createConnectionManager()

createConnector

public static Connector createConnector()

createContainer

public static Container createContainer()

createDeployments

public static Deployments createDeployments()

createService

public static Service createService()

createJndiProvider

public static JndiProvider createJndiProvider()

createOpenejb

public static Openejb createOpenejb()

createProxyFactory

public static ProxyFactory createProxyFactory()

createResource

public static Resource createResource()

createSecurityService

public static SecurityService createSecurityService()

createServiceProvider

public static ServiceProvider createServiceProvider()

createServicesJar

public static ServicesJar createServicesJar()

createTransactionManager

public static TransactionManager createTransactionManager()


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.