[jboss-cvs] JBossAS SVN: r98342 - projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jad-api/src/main/javax/enterprise/deploy/model.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 22 12:01:58 EST 2009
Author: jaikiran
Date: 2009-12-22 12:01:58 -0500 (Tue, 22 Dec 2009)
New Revision: 98342
Removed:
projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jad-api/src/main/javax/enterprise/deploy/model/DeployableObject.java
Log:
Autoversioning commit: a non-deltaV client made a change to
/projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jad-api/src/main/javax/enterprise/deploy/model/DeployableObject.java
Deleted: projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jad-api/src/main/javax/enterprise/deploy/model/DeployableObject.java
===================================================================
--- projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jad-api/src/main/javax/enterprise/deploy/model/DeployableObject.java 2009-12-22 17:01:51 UTC (rev 98341)
+++ projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jad-api/src/main/javax/enterprise/deploy/model/DeployableObject.java 2009-12-22 17:01:58 UTC (rev 98342)
@@ -1,117 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package javax.enterprise.deploy.model;
-
-import java.io.FileNotFoundException;
-import java.io.InputStream;
-import java.util.Enumeration;
-
-import javax.enterprise.deploy.model.exceptions.DDBeanCreateException;
-import javax.enterprise.deploy.shared.ModuleType;
-
-/**
- * A representation of a deployment module. It provides access to the
- * deployment descriptor and class files.
- *
- * @author <a href="mailto:adrian at jboss.org">Adrian Brock</a>
- * @version $Revision$
- */
-public interface DeployableObject
-{
- // Constants -----------------------------------------------------
-
- // Public --------------------------------------------------------
-
- /**
- * Get the module type of this deployment module
- *
- * @return the module type
- */
- ModuleType getType();
-
- /**
- * Get the top level element of the deployment descriptor
- *
- * @return the root of the deployment descriptor
- */
- DDBeanRoot getDDBeanRoot();
-
- /**
- * Get the child elements with the specified xpath
- *
- * @param xpath the xpath of the children
- * @return an array of children or null if there are none
- */
- DDBean[] getChildBean(String xpath);
-
- /**
- * Get the text for the given xpath
- *
- * @param xpath the xpath
- * @return an array of Strings for the xpath or null if there are none
- */
- String[] getText(String xpath);
-
- /**
- * Retrieves the specified class from the deployment module
- *
- * @param className the name of the class
- * @return the class
- */
- Class getClassFromScope(String className);
-
-
- /**
- * Get the dtd version
- *
- * @deprecated use DDBeanRoot.getDDBeanRootVersion
- * @return the dtd version
- */
- String getModuleDTDVersion();
-
- /**
- * Returns a DDBeanRoot for the xml document. This method should be used
- * to return DDBeanRoot for non deployment descriptor xml documents such as WSDL files
- *
- * @param filename the file name of the document
- * @return the root element
- * @throws FileNotFoundException if the file is not found
- * @throws DDBeanCreateException for other errors creating the object
- */
- DDBeanRoot getDDBeanRoot(String filename) throws FileNotFoundException, DDBeanCreateException;
-
- /**
- * Returns an enumeration of file names (as strings) for each file relative to the root
- * of the module
- *
- * @return the enumeration
- */
- Enumeration entries();
-
- /**
- * Get an input stream to the module entry.
- *
- * @param name the name of the module entry
- * @return the input stream to the module entry or null if it does not exist
- */
- InputStream getEntry(String name);
-}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list