User: user57
Date: 02/03/01 00:29:56
Modified: src/etc/conf/default jboss-service.xml
Log:
o Seperated deployment "scanning" from MainDeployer
o Adding DeploymentScanner APIs + default local directory based scanner
o Moved common deployment sorting into DeploymentSorter (a temporary hack)
o Added default scanner at the top of jboss-service.xml, which scans in
a deploy/ directory under the server's home (aka server/default/deploy)
Revision Changes Path
1.32 +16 -1 jboss/src/etc/conf/default/jboss-service.xml
Index: jboss-service.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/jboss-service.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- jboss-service.xml 24 Feb 2002 10:24:31 -0000 1.31
+++ jboss-service.xml 1 Mar 2002 08:29:56 -0000 1.32
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
-<!-- $Id: jboss-service.xml,v 1.31 2002/02/24 10:24:31 user57 Exp $ -->
+<!-- $Id: jboss-service.xml,v 1.32 2002/03/01 08:29:56 user57 Exp $ -->
<!-- ===================================================================== -->
<!-- -->
@@ -17,6 +17,21 @@
| then there is no need to list the files and it should commented
-->
<classpath codebase="lib" archives="*"/>
+
+ <!-- ==================================================================== -->
+ <!-- Deployment Scanning -->
+ <!-- ==================================================================== -->
+
+ <mbean code="org.jboss.deployment.scanner.DirectoryDeploymentScanner"
+ name="jboss.deployment:type=DeploymentScanner,flavor=Directory">
+ <depends>jboss.system:service=MainDeployer</depends>
+ <attribute name="ScanPeriod">5000</attribute>
+
+ <!-- Directories are comman seperated and relative to server home -->
+ <attribute name="Directories">
+ ./deploy
+ </attribute>
+ </mbean>
<!-- ==================================================================== -->
<!-- Class Loading -->
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development