[jboss-cvs] JBossAS SVN: r65074 - trunk/system/src/main/org/jboss/system/server/profileservice/repository.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Sep 5 01:49:55 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-09-05 01:49:55 -0400 (Wed, 05 Sep 2007)
New Revision: 65074
Modified:
trunk/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java
Log:
Fix the deployment types mappings
Modified: trunk/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java 2007-09-05 02:26:39 UTC (rev 65073)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java 2007-09-05 05:49:55 UTC (rev 65074)
@@ -197,27 +197,26 @@
public Set<String> getDeploymentNamesForType(String type)
{
- throw new UnsupportedOperationException("getTypes");
-
- /** TODO getTypes()
HashSet<String> names = new HashSet<String>();
for(VFSDeployment ctx : bootstrapCtxs.values())
{
- if( ctx.getTypes().contains(type) )
+ Set<String> types = ctx.getTypes();
+ if( types != null && types.contains(type) )
names.add(ctx.getName());
}
for(VFSDeployment ctx : deployerCtxs.values())
{
- if( ctx.getTypes().contains(type) )
+ Set<String> types = ctx.getTypes();
+ if( types != null && types.contains(type) )
names.add(ctx.getName());
}
for(VFSDeployment ctx : applicationCtxs.values())
{
- if( ctx.getTypes().contains(type) )
+ Set<String> types = ctx.getTypes();
+ if( types != null && types.contains(type) )
names.add(ctx.getName());
}
return names;
- */
}
public void addDeploymentContent(String name, ZipInputStream contentIS, DeploymentPhase phase)
More information about the jboss-cvs-commits
mailing list