[jboss-cvs] JBossAS SVN: r82564 - projects/webbeans-ri-int/trunk/microcontainer/src/main/java/org/jboss/webbeans/integration/microcontainer/deployer/metadata.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 29 09:48:42 EST 2008
Author: alesj
Date: 2008-12-29 09:48:42 -0500 (Mon, 29 Dec 2008)
New Revision: 82564
Modified:
projects/webbeans-ri-int/trunk/microcontainer/src/main/java/org/jboss/webbeans/integration/microcontainer/deployer/metadata/PostWebMetadataDeployer.java
Log:
web.xml also uses JBWMD.
Modified: projects/webbeans-ri-int/trunk/microcontainer/src/main/java/org/jboss/webbeans/integration/microcontainer/deployer/metadata/PostWebMetadataDeployer.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/main/java/org/jboss/webbeans/integration/microcontainer/deployer/metadata/PostWebMetadataDeployer.java 2008-12-29 14:43:52 UTC (rev 82563)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/main/java/org/jboss/webbeans/integration/microcontainer/deployer/metadata/PostWebMetadataDeployer.java 2008-12-29 14:48:42 UTC (rev 82564)
@@ -21,12 +21,12 @@
*/
package org.jboss.webbeans.integration.microcontainer.deployer.metadata;
+import java.util.ArrayList;
import java.util.List;
-import java.util.ArrayList;
import org.jboss.deployers.spi.DeploymentException;
import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
-import org.jboss.metadata.web.spec.WebMetaData;
+import org.jboss.metadata.web.jboss.JBossWebMetaData;
import org.jboss.metadata.web.spec.ListenerMetaData;
import org.jboss.virtual.VirtualFile;
@@ -35,19 +35,19 @@
*
* @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
*/
-public class PostWebMetadataDeployer extends WebBeansAwareMetadataDeployer<WebMetaData>
+public class PostWebMetadataDeployer extends WebBeansAwareMetadataDeployer<JBossWebMetaData>
{
private ListenerMetaData WBL;
public PostWebMetadataDeployer()
{
- super(WebMetaData.class);
+ super(JBossWebMetaData.class);
// create wbl listener
WBL = new ListenerMetaData();
WBL.setListenerClass("org.jboss.webbeans.servlet.WebBeansListener");
}
- protected void internalDeploy(VFSDeploymentUnit unit, WebMetaData deployment, VirtualFile wbXml) throws DeploymentException
+ protected void internalDeploy(VFSDeploymentUnit unit, JBossWebMetaData deployment, VirtualFile wbXml) throws DeploymentException
{
List<ListenerMetaData> listeners = deployment.getListeners();
if (listeners == null)
More information about the jboss-cvs-commits
mailing list