|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.embedded.EJB3StandaloneBootstrap
public class EJB3StandaloneBootstrap
This class is used to bootstrap the ejb3 container. It find things by ClassLoader.getResource and will load by default the embedded-jbosss-beans.xml file and the ejb3-interceptors-aop.xml file.
This is usually only used in standalone Java programs or Junit tests.
Field Summary | |
---|---|
static java.util.HashSet |
ignoredJars
|
static org.jboss.kernel.Kernel |
kernel
|
Constructor Summary | |
---|---|
EJB3StandaloneBootstrap()
|
Method Summary | |
---|---|
static void |
boot(java.lang.String configPath)
Bootstrap the EJB3 container by loading up JBoss Microcontainer files. |
static EJB3StandaloneDeployer |
createDeployer()
Create a deployer that you can start deploying to. |
static void |
createKernel()
|
static void |
deployXmlResource(java.lang.String resource)
Deploy a JBoss Microcontainer XML file. |
static java.util.Hashtable |
getInitialContextProperties()
|
static org.jboss.kernel.Kernel |
getKernel()
|
static void |
scanClasspath()
Scan java.class.path System property for jars that contain EJB3 files. |
static void |
scanClasspath(java.lang.String paths)
Scan java.class.path System property for jars that contain EJB3 files. |
static void |
shutdown()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.jboss.kernel.Kernel kernel
public static java.util.HashSet ignoredJars
Constructor Detail |
---|
public EJB3StandaloneBootstrap()
Method Detail |
---|
public static org.jboss.kernel.Kernel getKernel()
public static void deployXmlResource(java.lang.String resource)
resource
- public static java.util.Hashtable getInitialContextProperties()
public static void scanClasspath(java.lang.String paths)
public static void scanClasspath()
public static EJB3StandaloneDeployer createDeployer()
public static void shutdown()
public static void boot(java.lang.String configPath)
configPath
- base path for default resources. null or "" should be good enough.public static void createKernel() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |