[Jboss-cvs] JBossAS SVN: r57034 - projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/deployers/helpers
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Sep 20 19:52:18 EDT 2006
Author: scott.stark at jboss.org
Date: 2006-09-20 19:52:16 -0400 (Wed, 20 Sep 2006)
New Revision: 57034
Modified:
projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/deployers/helpers/AbstractComponentDeployer.java
Log:
Rename the visitor ivar compVisitor to avoid confusion with the superclass visitor.
Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/deployers/helpers/AbstractComponentDeployer.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/deployers/helpers/AbstractComponentDeployer.java 2006-09-20 22:28:48 UTC (rev 57033)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/deployers/helpers/AbstractComponentDeployer.java 2006-09-20 23:52:16 UTC (rev 57034)
@@ -37,7 +37,7 @@
public abstract class AbstractComponentDeployer<D, C> extends AbstractRealDeployer<D>
{
/** The component visitor */
- private SimpleDeploymentVisitor<C> visitor;
+ private SimpleDeploymentVisitor<C> compVisitor;
/** The component type */
private Class<C> componentType;
@@ -57,7 +57,7 @@
{
if (visitor == null)
throw new IllegalArgumentException("Null visitor");
- this.visitor = visitor;
+ this.compVisitor = visitor;
componentType = visitor.getVisitorType();
if (componentType == null)
throw new IllegalArgumentException("Null visitor type");
@@ -86,21 +86,21 @@
protected void deployComponents(DeploymentUnit unit) throws DeploymentException
{
- if (visitor == null)
+ if (compVisitor == null)
return;
Set<? extends C> components = unit.getAllMetaData(componentType);
for (C component : components)
- visitor.deploy(unit, component);
+ compVisitor.deploy(unit, component);
}
protected void undeployComponents(DeploymentUnit unit)
{
- if (visitor == null)
+ if (compVisitor == null)
return;
Set<? extends C> components = unit.getAllMetaData(componentType);
for (C component : components)
- visitor.undeploy(unit, component);
+ compVisitor.undeploy(unit, component);
}
}
More information about the jboss-cvs-commits
mailing list