[jboss-cvs] JBossAS SVN: r87435 - projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Apr 16 11:11:46 EDT 2009
Author: thomas.diesler at jboss.com
Date: 2009-04-16 11:11:46 -0400 (Thu, 16 Apr 2009)
New Revision: 87435
Modified:
projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java
Log:
Add javadoc
Modified: projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java
===================================================================
--- projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java 2009-04-16 15:10:52 UTC (rev 87434)
+++ projects/jboss-osgi/trunk/runtime/deployer/src/main/java/org/jboss/osgi/deployer/BundleStructureDeployer.java 2009-04-16 15:11:46 UTC (rev 87435)
@@ -48,6 +48,13 @@
setRelativeOrder(9000);
}
+ /**
+ * Determine the structure of a bundle deployment
+ *
+ * @param context the structure context
+ * @return true when it recognised the context
+ * @throws DeploymentException for an error
+ */
public boolean determineStructure(StructureContext structureContext) throws DeploymentException
{
ContextInfo context = null;
@@ -58,7 +65,8 @@
{
boolean trace = log.isTraceEnabled();
- if (JarUtils.isArchive(file.getName()) == true && file != root)
+ // Ignore child archives
+ if (file != root && JarUtils.isArchive(file.getName()) == true)
{
if (trace)
log.trace("... no - ignoring child archive");
More information about the jboss-cvs-commits
mailing list