[jboss-svn-commits] JBL Code SVN: r24413 - in labs/jbossesb/workspace/skeagh/container/microcontainer/src: main/java/org/jboss/esb/microcontainer/metadata and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Dec 18 06:38:54 EST 2008
Author: beve
Date: 2008-12-18 06:38:54 -0500 (Thu, 18 Dec 2008)
New Revision: 24413
Modified:
labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/deployers/EsbDeployer.java
labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/metadata/EsbMetaData.java
labs/jbossesb/workspace/skeagh/container/microcontainer/src/test/java/org/jboss/esb/microcontainer/deployers/EsbConfigParserTest.java
Log:
Fixed typo in method name.
Modified: labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/deployers/EsbDeployer.java
===================================================================
--- labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/deployers/EsbDeployer.java 2008-12-18 11:31:35 UTC (rev 24412)
+++ labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/deployers/EsbDeployer.java 2008-12-18 11:38:54 UTC (rev 24413)
@@ -94,11 +94,11 @@
{
BeanMetaDataBuilder bmdBuilder = BeanMetaDataBuilder.createBuilder(BEAN_PREFIX + "." + deploymentUnit.getName(), EsbDeployment.class.getName());
// Setup the first constructor argument.
- bmdBuilder.addConstructorParameter(String.class.getName(), esbMetaData.getAchiveName());
+ bmdBuilder.addConstructorParameter(String.class.getName(), esbMetaData.getArchiveName());
// Setup the second constructor argument.
bmdBuilder.addConstructorParameter(org.jboss.esb.deploy.config.DeploymentUnit.class.getName(), esbMetaData.getDeploymentUnit());
// Add management annotation.
- final String mbeanName = BEAN_PREFIX + ":app=" + esbMetaData.getAchiveName();
+ final String mbeanName = BEAN_PREFIX + ":app=" + esbMetaData.getArchiveName();
bmdBuilder.addAnnotation("@org.jboss.aop.microcontainer.aspects.jmx.JMX(registerDirectly=true, exposedInterface=void.class, name=\"" + mbeanName + "\")");
return bmdBuilder.getBeanMetaData();
Modified: labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/metadata/EsbMetaData.java
===================================================================
--- labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/metadata/EsbMetaData.java 2008-12-18 11:31:35 UTC (rev 24412)
+++ labs/jbossesb/workspace/skeagh/container/microcontainer/src/main/java/org/jboss/esb/microcontainer/metadata/EsbMetaData.java 2008-12-18 11:38:54 UTC (rev 24413)
@@ -28,9 +28,9 @@
* Metadata for an ESB deployment consists of a {@link DeploymentUnit} and
* an archive name.
* <p/>
- * This metadata is intended by be created by a Deployment Parser. A deployment
+ * This metadata is intended to be created by a Deployment Parser. A deployment
* parser could read an xml configuration file, or it could gather the same
- * information in another way, perhaps using annotations on class files, another
+ * information in some other way, perhaps using annotations on class files, another
* language, etc.
*
* @author <a href="mailto:dbevenius at jboss.com">Daniel Bevenius</a>
@@ -41,14 +41,10 @@
/** Serial version unique identifier. */
private static final long serialVersionUID = 0L;
- /**
- * The ESB DeploymentUnit.
- */
+ /** The ESB DeploymentUnit. */
private DeploymentUnit deploymentUnit;
- /**
- * The name of the .esb archive.
- */
+ /** The name of the .esb archive. */
private String archiveName;
/**
@@ -78,7 +74,7 @@
*
* @return String The name of the archive that this metadata came from.
*/
- public final String getAchiveName()
+ public final String getArchiveName()
{
return archiveName;
}
Modified: labs/jbossesb/workspace/skeagh/container/microcontainer/src/test/java/org/jboss/esb/microcontainer/deployers/EsbConfigParserTest.java
===================================================================
--- labs/jbossesb/workspace/skeagh/container/microcontainer/src/test/java/org/jboss/esb/microcontainer/deployers/EsbConfigParserTest.java 2008-12-18 11:31:35 UTC (rev 24412)
+++ labs/jbossesb/workspace/skeagh/container/microcontainer/src/test/java/org/jboss/esb/microcontainer/deployers/EsbConfigParserTest.java 2008-12-18 11:38:54 UTC (rev 24413)
@@ -68,7 +68,7 @@
VFSDeploymentUnit deploymentUnit = TestUtil.getDeploymentUnit(virtualFile);
EsbMetaData esbMetaData = parserDeployer.parse(deploymentUnit, virtualFile, (EsbMetaData)null);
- assertEquals(virtualFile.getName(), esbMetaData.getAchiveName());
+ assertEquals(virtualFile.getName(), esbMetaData.getArchiveName());
}
@Override
More information about the jboss-svn-commits
mailing list