org.apache.geronimo.openejb
Class OpenEjbSystemGBean

java.lang.Object
  extended by org.apache.geronimo.openejb.OpenEjbSystemGBean
All Implemented Interfaces:
OpenEjbSystem

public class OpenEjbSystemGBean
extends Object
implements OpenEjbSystem


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
OpenEjbSystemGBean(TransactionManager transactionManager)
           
OpenEjbSystemGBean(TransactionManager transactionManager, Collection<org.apache.geronimo.connector.ResourceAdapterWrapper> resourceAdapters, Collection<PersistenceUnitGBean> persistenceUnitGBeans, Kernel kernel, ClassLoader classLoader)
           
 
Method Summary
 org.apache.openejb.assembler.classic.AppInfo configureApplication(org.apache.openejb.config.AppModule appModule)
           
 org.apache.openejb.assembler.classic.ClientInfo configureApplication(org.apache.openejb.config.ClientModule clientModule)
           
 org.apache.openejb.assembler.classic.EjbJarInfo configureApplication(org.apache.openejb.config.EjbModule ejbModule)
           
 void createClient(org.apache.openejb.assembler.classic.ClientInfo clientInfo, ClassLoader classLoader)
           
 org.apache.openejb.Container createContainer(Class<? extends org.apache.openejb.assembler.classic.ContainerInfo> type, String serviceId, Properties declaredProperties, String providerId)
           
 void createEjbJar(org.apache.openejb.assembler.classic.EjbJarInfo ejbJarInfo, ClassLoader classLoader)
           
 org.apache.openejb.spi.ContainerSystem getContainerSystem()
           
 org.apache.openejb.DeploymentInfo getDeploymentInfo(String deploymentId)
           
static GBeanInfo getGBeanInfo()
           
 void removeEjbJar(org.apache.openejb.assembler.classic.EjbJarInfo ejbJarInfo, ClassLoader classLoader)
           
 void setORBContext(ORB orb, HandleDelegate handleDelegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

OpenEjbSystemGBean

public OpenEjbSystemGBean(TransactionManager transactionManager)
                   throws Exception
Throws:
Exception

OpenEjbSystemGBean

public OpenEjbSystemGBean(TransactionManager transactionManager,
                          Collection<org.apache.geronimo.connector.ResourceAdapterWrapper> resourceAdapters,
                          Collection<PersistenceUnitGBean> persistenceUnitGBeans,
                          Kernel kernel,
                          ClassLoader classLoader)
                   throws Exception
Throws:
Exception
Method Detail

getContainerSystem

public org.apache.openejb.spi.ContainerSystem getContainerSystem()
Specified by:
getContainerSystem in interface OpenEjbSystem

createContainer

public org.apache.openejb.Container createContainer(Class<? extends org.apache.openejb.assembler.classic.ContainerInfo> type,
                                                    String serviceId,
                                                    Properties declaredProperties,
                                                    String providerId)
                                             throws org.apache.openejb.OpenEJBException
Specified by:
createContainer in interface OpenEjbSystem
Throws:
org.apache.openejb.OpenEJBException

configureApplication

public org.apache.openejb.assembler.classic.ClientInfo configureApplication(org.apache.openejb.config.ClientModule clientModule)
                                                                     throws org.apache.openejb.OpenEJBException
Specified by:
configureApplication in interface OpenEjbSystem
Throws:
org.apache.openejb.OpenEJBException

configureApplication

public org.apache.openejb.assembler.classic.AppInfo configureApplication(org.apache.openejb.config.AppModule appModule)
                                                                  throws org.apache.openejb.OpenEJBException
Specified by:
configureApplication in interface OpenEjbSystem
Throws:
org.apache.openejb.OpenEJBException

configureApplication

public org.apache.openejb.assembler.classic.EjbJarInfo configureApplication(org.apache.openejb.config.EjbModule ejbModule)
                                                                     throws org.apache.openejb.OpenEJBException
Specified by:
configureApplication in interface OpenEjbSystem
Throws:
org.apache.openejb.OpenEJBException

createClient

public void createClient(org.apache.openejb.assembler.classic.ClientInfo clientInfo,
                         ClassLoader classLoader)
                  throws NamingException,
                         IOException,
                         org.apache.openejb.OpenEJBException
Specified by:
createClient in interface OpenEjbSystem
Throws:
NamingException
IOException
org.apache.openejb.OpenEJBException

createEjbJar

public void createEjbJar(org.apache.openejb.assembler.classic.EjbJarInfo ejbJarInfo,
                         ClassLoader classLoader)
                  throws NamingException,
                         IOException,
                         org.apache.openejb.OpenEJBException
Specified by:
createEjbJar in interface OpenEjbSystem
Throws:
NamingException
IOException
org.apache.openejb.OpenEJBException

removeEjbJar

public void removeEjbJar(org.apache.openejb.assembler.classic.EjbJarInfo ejbJarInfo,
                         ClassLoader classLoader)
                  throws org.apache.openejb.UndeployException,
                         org.apache.openejb.NoSuchApplicationException
Specified by:
removeEjbJar in interface OpenEjbSystem
Throws:
org.apache.openejb.UndeployException
org.apache.openejb.NoSuchApplicationException

getDeploymentInfo

public org.apache.openejb.DeploymentInfo getDeploymentInfo(String deploymentId)
Specified by:
getDeploymentInfo in interface OpenEjbSystem

setORBContext

public void setORBContext(ORB orb,
                          HandleDelegate handleDelegate)
Specified by:
setORBContext in interface OpenEjbSystem

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.