Package org.jboss.deployers.spi.annotations

Examples of org.jboss.deployers.spi.annotations.PathEntryMetaData


   public boolean equals(Object obj)
   {
      if (obj instanceof PathEntryMetaData == false)
         return false;

      PathEntryMetaData pemd = (PathEntryMetaData)obj;
      return getNameInternal().equals(pemd.getName());
   }
View Full Code Here


   public boolean equals(Object obj)
   {
      if (obj instanceof PathEntryMetaData == false)
         return false;

      PathEntryMetaData pemd = (PathEntryMetaData)obj;
      return getNameInternal().equals(pemd.getName());
   }
View Full Code Here

            assertNotNull(pmd);
            assertEquals("myejbs.jar", pmd.getPathName());
            Set<PathEntryMetaData> includes = pmd.getIncludes();
            assertNotNull(includes);
            assertEquals(1, includes.size());
            PathEntryMetaData pemd = includes.iterator().next();
            assertNotNull(pemd);
            assertEquals("com.acme.foo", pemd.getName());
            Set<PathEntryMetaData> excludes = pmd.getExcludes();
            assertNotNull(excludes);
            pemd = excludes.iterator().next();
            assertNotNull(pemd);
            assertEquals("com.acme.foo.bar", pemd.getName());
            assertEquals(1, excludes.size());

            pmd = paths.get(1);
            assertNotNull(pmd);
            assertEquals("my.war/WEB-INF/classes", pmd.getPathName());
            includes = pmd.getIncludes();
            assertNotNull(includes);
            assertEquals(1, includes.size());
            pemd = includes.iterator().next();
            assertNotNull(pemd);
            assertEquals("com.acme.foo", pemd.getName());
            assertNull(pmd.getExcludes());
         }
         finally
         {
            deployer.undeploy(unit);
View Full Code Here

TOP

Related Classes of org.jboss.deployers.spi.annotations.PathEntryMetaData

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.