Package org.jboss.deployers.vfs.spi.structure

Examples of org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext


      assertDeployNoChildren("/structure/jar/indirectory", "archive.zip");
   }
  
   public void testJarInDirectory() throws Throwable
   {
      VFSDeploymentContext context = assertDeploy("/structure/jar", "indirectory");
      assertChildContexts(context, "archive.jar", "archive.zip");
   }
View Full Code Here


      assertDeployNoChildren("/structure/jar", "subdirnotajar");
   }
  
   public void testSubdirectoryIsAJar() throws Throwable
   {
      VFSDeploymentContext context = assertDeploy("/structure/jar", "subdirisajar");
      assertChildContexts(context, "sub.jar");
   }
View Full Code Here

      assertDeployNoChildren("/structure/jar/subdirhasmetainf", "sub");
   }
  
   public void testSubdirectoryHasMetaInf() throws Throwable
   {
      VFSDeploymentContext context = assertDeploy("/structure/jar", "subdirhasmetainf");
      assertChildContexts(context, "sub");
   }
View Full Code Here

    * Validate packaged ear.
    * @throws Throwable for any error
    */
   public void testPackedEAR() throws Throwable
   {
      VFSDeploymentContext ear = assertDeploy("/structure/ear", "archive.ear");
      assertClassPath(ear, "lib/log5j.jar");
      assertChildContexts(ear, "module-bean1ejb.jar");
   }
View Full Code Here

    * Validate scanning of ear.
    * @throws Throwable for any error
    */
   public void testScanEAR() throws Throwable
   {
      VFSDeploymentContext ear = assertDeploy("/structure/ear", "noappxml.ear");
      assertChildContexts(ear, "client.jar", "foobar.sar", "known.jar", "ts.rar", "webapp.war");
   }
View Full Code Here

    * Validate mixed ear.
    * @throws Throwable for any error
    */
   public void testMixedEAR() throws Throwable
   {
      VFSDeploymentContext ear = assertDeploy("/structure/ear", "someappxml.ear");
      assertChildContexts(ear, "client.jar", "foobar.sar", "known.jar", "ts.rar", "webapp.war");
   }
View Full Code Here

    * Validate strict ear.
    * @throws Throwable for any error
    */
   public void testStrictEAR() throws Throwable
   {
      VFSDeploymentContext ear = assertDeploy("/structure/ear", "strict.ear");
      assertChildContexts(ear, "known.jar", "ts.rar");
   }
View Full Code Here

    * Validate a basic ear with modules having no subdeployments
    * @throws Throwable for any problem
    */
   public void testSimpleWithAppXml() throws Throwable
   {     
      VFSDeploymentContext ear = assertDeploy("/structure/ear", "simplewithappxml.ear");
      assertClassPath(ear, "lib/lib0.jar");
      assertChildContexts(ear, "module-service.xml", "module-bean1ejb.jar", "module-bean2.ejb3", "module-client1.jar", "module-mbean1.sar", "module-mcf1-ds.xml", "module-mcf1.rar", "module-web1.war");
   }
View Full Code Here

    * The ear modules having subdeployments
    * @throws Throwable for any problem
    */
   public void testComplexWithAppXml() throws Throwable
   {     
      VFSDeploymentContext ear = assertDeploy("/structure/ear", "complexwithappxml.ear");
      assertClassPath(ear, "lib/lib0.jar");
      assertChildContexts(ear, "module-service.xml", "module-bean1ejb.jar", "module-bean2.ejb3", "module-client1.jar", "module-mbean1.sar", "module-mcf1-ds.xml", "module-mcf1.rar", "module-web1.war", "subdir/relative.jar");

      // Validate that the expected module subdeployments are there
      VFSDeploymentContext child = assertChildContext(ear, "module-mbean1.sar");
      assertChildContexts(child, "extensions.aop", "submbean.sar", "submbean2-service.xml");
   }
View Full Code Here

    *
    * @throws Throwable for any problem
    */
   public void testComplexWithAppFinds() throws Throwable
   {
      VFSDeploymentContext ear = assertDeploy("/structure/ear", "complexwithappxml.ear");

      // META-INF/application.properties
      assertMetaDataFile(ear, "application.properties");
      assertNoFile(ear, "application.properties");

View Full Code Here

TOP

Related Classes of org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.