|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.jca.embedded.EmbeddedJCA
public class EmbeddedJCA

The embedded IronJacamar container
| Constructor Summary | |
|---|---|
EmbeddedJCA()
Constructs an embedded JCA environment using the full JCA 1.6 profile |
|
EmbeddedJCA(boolean fullProfile)
Constructs an embedded JCA environment. |
|
| Method Summary | ||
|---|---|---|
void |
deploy(Class<?> clz)
Deploy |
|
void |
deploy(ClassLoader cl,
String name)
Deploy |
|
void |
deploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
Deploy |
|
void |
deploy(URL url)
Deploy |
|
|
lookup(String name,
Class<T> expectedType)
Lookup a bean |
|
void |
shutdown()
Shutdown |
|
void |
startup()
Startup |
|
void |
undeploy(Class<?> clz)
Undeploy |
|
void |
undeploy(ClassLoader cl,
String name)
Undeploy |
|
void |
undeploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
Undeploy |
|
void |
undeploy(URL url)
Undeploy |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedJCA()
public EmbeddedJCA(boolean fullProfile)
fullProfile
is true then a full JCA 1.6 container is initialized -
otherwise only the basic kernel is initialized and services has
to be added as deployments
fullProfile - Should a full profile be initialized| Method Detail |
|---|
public void startup()
throws Throwable
Throwable - If an error occurs
public void shutdown()
throws Throwable
Throwable - If an error occurs
public <T> T lookup(String name,
Class<T> expectedType)
throws Throwable
name - The bean nameexpectedType - The expected type for the bean
Throwable - If an error occurs
public void deploy(URL url)
throws Throwable
url - The resource url
Throwable - If an error occurs
public void deploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
throws Throwable
raa - The resource adapter archive
Throwable - If an error occurs
public void deploy(ClassLoader cl,
String name)
throws Throwable
cl - The class loadername - The resource name
Throwable - If an error occurs
public void deploy(Class<?> clz)
throws Throwable
clz - The class
Throwable - If an error occurs
public void undeploy(URL url)
throws Throwable
url - The resource url
Throwable - If an error occurs
public void undeploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
throws Throwable
raa - The resource adapter archive
Throwable - If an error occurs
public void undeploy(ClassLoader cl,
String name)
throws Throwable
cl - The class loadername - The resource name
Throwable - If an error occurs
public void undeploy(Class<?> clz)
throws Throwable
clz - The class
Throwable - If an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||