org.jboss.jca.embedded
Interface Embedded


public interface Embedded

The embedded IronJacamar container

Author:
Jesper Pedersen

Method Summary
 void deploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
          Deploy
 void deploy(URL url)
          Deploy
<T> T
lookup(String name, Class<T> expectedType)
          Lookup a bean
 void shutdown()
          Shutdown
 void startup()
          Startup
 void undeploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
          Undeploy
 void undeploy(URL url)
          Undeploy
 

Method Detail

startup

void startup()
             throws Throwable
Startup

Throws:
Throwable - If an error occurs

shutdown

void shutdown()
              throws Throwable
Shutdown

Throws:
Throwable - If an error occurs

deploy

void deploy(URL url)
            throws Throwable
Deploy

Parameters:
url - The resource url
Throws:
Throwable - If an error occurs

deploy

void deploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
            throws Throwable
Deploy

Parameters:
raa - The resource adapter archive
Throws:
Throwable - If an error occurs

undeploy

void undeploy(URL url)
              throws Throwable
Undeploy

Parameters:
url - The resource url
Throws:
Throwable - If an error occurs

undeploy

void undeploy(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
              throws Throwable
Undeploy

Parameters:
raa - The resource adapter archive
Throws:
Throwable - If an error occurs

lookup

<T> T lookup(String name,
             Class<T> expectedType)
         throws Throwable
Lookup a bean

Type Parameters:
T - the generics type
Parameters:
name - The bean name
expectedType - The expected type for the bean
Returns:
The bean instance
Throws:
Throwable - If an error occurs


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)