[jboss-cvs] JBossAS SVN: r66774 - in projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient: src/main/assembly and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Nov 6 08:44:42 EST 2007
Author: newtonm
Date: 2007-11-06 08:44:42 -0500 (Tue, 06 Nov 2007)
New Revision: 66774
Added:
projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/withoutAOP.xml
Removed:
projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/dist.xml
Modified:
projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/pom.xml
projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withAOP-beans.xml
projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withoutAOP-beans.xml
Log:
Added commented out beans for easy configuration.
Modified: projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/pom.xml
===================================================================
--- projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/pom.xml 2007-11-06 13:42:47 UTC (rev 66773)
+++ projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/pom.xml 2007-11-06 13:44:42 UTC (rev 66774)
@@ -65,7 +65,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
- <descriptor>src/main/assembly/dist.xml</descriptor>
+ <descriptor>src/main/assembly/withoutAOP.xml</descriptor>
<descriptor>src/main/assembly/withAOP.xml</descriptor>
</descriptors>
</configuration>
Deleted: projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/dist.xml
===================================================================
--- projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/dist.xml 2007-11-06 13:42:47 UTC (rev 66773)
+++ projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/dist.xml 2007-11-06 13:44:42 UTC (rev 66774)
@@ -1,46 +0,0 @@
-<assembly>
- <id>dist</id>
- <formats>
- <format>dir</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <directory>target</directory>
- <outputDirectory/>
- <includes>
- <include>*.jar</include>
- </includes>
- </fileSet>
- </fileSets>
- <files>
- <file>
- <source>src/main/config/withoutAOP-beans.xml</source>
- <outputDirectory/>
- <destName>service-beans.xml</destName>
- </file>
- </files>
-
- <dependencySets>
- <dependencySet>
- <outputDirectory>/lib</outputDirectory>
- <unpack>false</unpack>
- <scope>runtime</scope>
- <excludes>
- <exclude>org.jboss.microcontainer.examples:humanResourcesService</exclude>
- <exclude>org.jboss:javassist</exclude>
- <exclude>org.jboss.aop:jboss-aop</exclude>
- <exclude>org.jboss.microcontainer:jboss-aop-mc-int</exclude>
- <exclude>org.jboss.microcontainer.examples:auditAspect</exclude>
- </excludes>
- </dependencySet>
- <dependencySet>
- <outputDirectory/>
- <unpack>false</unpack>
- <scope>runtime</scope>
- <includes>
- <include>org.jboss.microcontainer.examples:humanResourcesService</include>
- </includes>
- </dependencySet>
- </dependencySets>
-</assembly>
Copied: projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/withoutAOP.xml (from rev 66769, projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/dist.xml)
===================================================================
--- projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/withoutAOP.xml (rev 0)
+++ projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/assembly/withoutAOP.xml 2007-11-06 13:44:42 UTC (rev 66774)
@@ -0,0 +1,46 @@
+<assembly>
+ <id>withoutAOP</id>
+ <formats>
+ <format>dir</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory/>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ <files>
+ <file>
+ <source>src/main/config/withoutAOP-beans.xml</source>
+ <outputDirectory/>
+ <destName>service-beans.xml</destName>
+ </file>
+ </files>
+
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/lib</outputDirectory>
+ <unpack>false</unpack>
+ <scope>runtime</scope>
+ <excludes>
+ <exclude>org.jboss.microcontainer.examples:humanResourcesService</exclude>
+ <exclude>org.jboss:javassist</exclude>
+ <exclude>org.jboss.aop:jboss-aop</exclude>
+ <exclude>org.jboss.microcontainer:jboss-aop-mc-int</exclude>
+ <exclude>org.jboss.microcontainer.examples:auditAspect</exclude>
+ </excludes>
+ </dependencySet>
+ <dependencySet>
+ <outputDirectory/>
+ <unpack>false</unpack>
+ <scope>runtime</scope>
+ <includes>
+ <include>org.jboss.microcontainer.examples:humanResourcesService</include>
+ </includes>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Modified: projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withAOP-beans.xml
===================================================================
--- projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withAOP-beans.xml 2007-11-06 13:42:47 UTC (rev 66773)
+++ projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withAOP-beans.xml 2007-11-06 13:44:42 UTC (rev 66774)
@@ -12,7 +12,20 @@
name="AuditAspect" class="org.jboss.example.aspect.AuditAspect"
method="audit" pointcut="execution(public * org.jboss.example.service.HRManager->*(..))"/>
- <bean name="HRService" class="org.jboss.example.service.HRManager"/>
+ <bean name="HRService" class="org.jboss.example.service.HRManager">
+ <!-- <property name="hiringFreeze">true</property>
+ <property name="salaryStrategy"><inject bean="AgeBasedSalary"/></property> -->
+ </bean>
+ <!-- <bean name="AgeBasedSalary" class="org.jboss.example.service.util.AgeBasedSalaryStrategy">
+ <property name="minSalary">1000</property>
+ <property name="maxSalary">80000</property>
+ </bean>
+
+ <bean name="LocationBasedSalary" class="org.jboss.example.service.util.LocationBasedSalaryStrategy">
+ <property name="minSalary">2000</property>
+ <property name="maxSalary">90000</property>
+ </bean> -->
+
</deployment>
Modified: projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withoutAOP-beans.xml
===================================================================
--- projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withoutAOP-beans.xml 2007-11-06 13:42:47 UTC (rev 66773)
+++ projects/microcontainer/trunk/docs/examples/User_Guide/commandLineClient/src/main/config/withoutAOP-beans.xml 2007-11-06 13:44:42 UTC (rev 66774)
@@ -4,6 +4,19 @@
xsi:schemaLocation="urn:jboss:bean-deployer:2.0 bean-deployer_2_0.xsd"
xmlns="urn:jboss:bean-deployer:2.0">
- <bean name="HRService" class="org.jboss.example.service.HRManager"/>
+ <bean name="HRService" class="org.jboss.example.service.HRManager">
+ <!-- <property name="hiringFreeze">true</property>
+ <property name="salaryStrategy"><inject bean="AgeBasedSalary"/></property> -->
+ </bean>
+ <!-- <bean name="AgeBasedSalary" class="org.jboss.example.service.util.AgeBasedSalaryStrategy">
+ <property name="minSalary">1000</property>
+ <property name="maxSalary">80000</property>
+ </bean>
+
+ <bean name="LocationBasedSalary" class="org.jboss.example.service.util.LocationBasedSalaryStrategy">
+ <property name="minSalary">2000</property>
+ <property name="maxSalary">90000</property>
+ </bean> -->
+
</deployment>
More information about the jboss-cvs-commits
mailing list