[jboss-cvs] JBossAS SVN: r59060 - in projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring: . deployment deployment/xml metadata
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 14 13:37:28 EST 2006
Author: alesj
Date: 2006-12-14 13:37:14 -0500 (Thu, 14 Dec 2006)
New Revision: 59060
Added:
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/metadata/
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/metadata/AbstractConstructorArg.java
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/metadata/AbstractSpringDeployment.java
Removed:
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractConstructorArg.java
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractSpringDeployment.java
Modified:
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgHandler.java
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgInterceptor.java
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansHandler.java
projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansInterceptor.java
Log:
package refactoring
Deleted: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractConstructorArg.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractConstructorArg.java 2006-12-14 18:28:28 UTC (rev 59059)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractConstructorArg.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -1,47 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.spring.deployment;
-
-import org.jboss.kernel.plugins.deployment.AbstractKernelDeployment;
-import org.jboss.beans.metadata.spi.LifecycleMetaData;
-import org.jboss.beans.metadata.plugins.AbstractParameterMetaData;
-import org.jboss.dependency.spi.ControllerState;
-
-/**
- * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
- */
-public class AbstractConstructorArg extends AbstractParameterMetaData
-{
- private boolean explicitIndex;
-
- public void setIndex(int index)
- {
- explicitIndex = true;
- super.setIndex(index);
- }
-
- public boolean isExplicitIndex()
- {
- return explicitIndex;
- }
-
-}
Deleted: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractSpringDeployment.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractSpringDeployment.java 2006-12-14 18:28:28 UTC (rev 59059)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractSpringDeployment.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -1,61 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.spring.deployment;
-
-import org.jboss.beans.metadata.spi.LifecycleMetaData;
-import org.jboss.dependency.spi.ControllerState;
-import org.jboss.kernel.plugins.deployment.AbstractKernelDeployment;
-
-/**
- * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
- */
-public class AbstractSpringDeployment extends AbstractKernelDeployment
-{
- /* default init lifecycle method */
- protected LifecycleMetaData create;
-
- /* default destroy lifecycle method */
- protected LifecycleMetaData destroy;
-
- public LifecycleMetaData getCreate()
- {
- return create;
- }
-
- public void setCreate(LifecycleMetaData create)
- {
- create.setState(ControllerState.CREATE);
- this.create = create;
- }
-
- public LifecycleMetaData getDestroy()
- {
- return destroy;
- }
-
- public void setDestroy(LifecycleMetaData destroy)
- {
- destroy.setState(ControllerState.CREATE);
- this.destroy = destroy;
- }
-
-}
Modified: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgHandler.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgHandler.java 2006-12-14 18:28:28 UTC (rev 59059)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgHandler.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -27,7 +27,7 @@
import org.jboss.beans.metadata.plugins.AbstractParameterMetaData;
import org.jboss.xb.binding.sunday.unmarshalling.DefaultElementHandler;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
-import org.jboss.spring.deployment.AbstractConstructorArg;
+import org.jboss.spring.metadata.AbstractConstructorArg;
import org.xml.sax.Attributes;
/**
Modified: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgInterceptor.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgInterceptor.java 2006-12-14 18:28:28 UTC (rev 59059)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/ConstructorArgInterceptor.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -29,7 +29,7 @@
import org.jboss.beans.metadata.plugins.AbstractConstructorMetaData;
import org.jboss.beans.metadata.plugins.AbstractParameterMetaData;
import org.jboss.beans.metadata.spi.ParameterMetaData;
-import org.jboss.spring.deployment.AbstractConstructorArg;
+import org.jboss.spring.metadata.AbstractConstructorArg;
import org.jboss.xb.binding.sunday.unmarshalling.DefaultElementInterceptor;
/**
Modified: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansHandler.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansHandler.java 2006-12-14 18:28:28 UTC (rev 59059)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansHandler.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -25,7 +25,7 @@
import javax.xml.namespace.QName;
import org.jboss.beans.metadata.plugins.AbstractLifecycleMetaData;
-import org.jboss.spring.deployment.AbstractSpringDeployment;
+import org.jboss.spring.metadata.AbstractSpringDeployment;
import org.jboss.xb.binding.sunday.unmarshalling.DefaultElementHandler;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
import org.xml.sax.Attributes;
Modified: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansInterceptor.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansInterceptor.java 2006-12-14 18:28:28 UTC (rev 59059)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/xml/SpringBeansInterceptor.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -28,14 +28,8 @@
import org.jboss.xb.binding.sunday.unmarshalling.DefaultElementInterceptor;
import org.jboss.beans.metadata.plugins.AbstractBeanMetaData;
-import org.jboss.beans.metadata.plugins.AbstractConstructorMetaData;
-import org.jboss.beans.metadata.plugins.AbstractParameterMetaData;
-import org.jboss.beans.metadata.spi.ConstructorMetaData;
-import org.jboss.beans.metadata.spi.ParameterMetaData;
import org.jboss.beans.metadata.spi.BeanMetaDataFactory;
-import org.jboss.spring.deployment.AbstractConstructorArg;
-import org.jboss.spring.deployment.AbstractSpringDeployment;
-import org.jboss.kernel.plugins.deployment.AbstractKernelDeployment;
+import org.jboss.spring.metadata.AbstractSpringDeployment;
/**
* @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
Copied: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/metadata/AbstractConstructorArg.java (from rev 59043, projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractConstructorArg.java)
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractConstructorArg.java 2006-12-14 13:39:30 UTC (rev 59043)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/metadata/AbstractConstructorArg.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -0,0 +1,47 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.spring.metadata;
+
+import org.jboss.kernel.plugins.deployment.AbstractKernelDeployment;
+import org.jboss.beans.metadata.spi.LifecycleMetaData;
+import org.jboss.beans.metadata.plugins.AbstractParameterMetaData;
+import org.jboss.dependency.spi.ControllerState;
+
+/**
+ * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
+ */
+public class AbstractConstructorArg extends AbstractParameterMetaData
+{
+ private boolean explicitIndex;
+
+ public void setIndex(int index)
+ {
+ explicitIndex = true;
+ super.setIndex(index);
+ }
+
+ public boolean isExplicitIndex()
+ {
+ return explicitIndex;
+ }
+
+}
Copied: projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/metadata/AbstractSpringDeployment.java (from rev 59043, projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractSpringDeployment.java)
===================================================================
--- projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/deployment/AbstractSpringDeployment.java 2006-12-14 13:39:30 UTC (rev 59043)
+++ projects/microcontainer/trunk/spring-int/src/main/org/jboss/spring/metadata/AbstractSpringDeployment.java 2006-12-14 18:37:14 UTC (rev 59060)
@@ -0,0 +1,61 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.spring.metadata;
+
+import org.jboss.beans.metadata.spi.LifecycleMetaData;
+import org.jboss.dependency.spi.ControllerState;
+import org.jboss.kernel.plugins.deployment.AbstractKernelDeployment;
+
+/**
+ * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
+ */
+public class AbstractSpringDeployment extends AbstractKernelDeployment
+{
+ /* default init lifecycle method */
+ protected LifecycleMetaData create;
+
+ /* default destroy lifecycle method */
+ protected LifecycleMetaData destroy;
+
+ public LifecycleMetaData getCreate()
+ {
+ return create;
+ }
+
+ public void setCreate(LifecycleMetaData create)
+ {
+ create.setState(ControllerState.CREATE);
+ this.create = create;
+ }
+
+ public LifecycleMetaData getDestroy()
+ {
+ return destroy;
+ }
+
+ public void setDestroy(LifecycleMetaData destroy)
+ {
+ destroy.setState(ControllerState.CREATE);
+ this.destroy = destroy;
+ }
+
+}
More information about the jboss-cvs-commits
mailing list