Interface Embedded


  • public interface Embedded
    The embedded IronJacamar container
    Author:
    Jesper Pedersen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deploy​(URL url)
      Deploy
      void deploy​(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
      Deploy
      void deploy​(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
      Deploy
      <T> T lookup​(String name, Class<T> expectedType)
      Lookup a bean
      void shutdown()
      Shutdown
      void startup()
      Startup
      void undeploy​(URL url)
      Undeploy
      void undeploy​(org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive raa)
      Undeploy
      void undeploy​(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
      Undeploy
    • Method Detail

      • 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.descriptor.api.Descriptor descriptor)
             throws Throwable
        Deploy
        Parameters:
        descriptor - The descriptor
        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.descriptor.api.Descriptor descriptor)
               throws Throwable
        Undeploy
        Parameters:
        descriptor - The descriptor
        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