User: mnf999
Date: 02/01/20 07:11:22
Modified: jboss.net/src/main/org/jboss/net/axis/server
AxisService.java
Log:
Jung, sorry I realize I had already done it
Revision Changes Path
1.5 +8 -12
contrib/jboss.net/src/main/org/jboss/net/axis/server/AxisService.java
Index: AxisService.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jboss.net/src/main/org/jboss/net/axis/server/AxisService.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AxisService.java 2001/12/05 11:00:26 1.4
+++ AxisService.java 2002/01/20 15:11:22 1.5
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: AxisService.java,v 1.4 2001/12/05 11:00:26 cgjung Exp $
+// $Id: AxisService.java,v 1.5 2002/01/20 15:11:22 mnf999 Exp $
package org.jboss.net.axis.server;
@@ -62,7 +62,7 @@
* A deployer service that installs and manages Axis within JMX.
* @created 27. September 2001
* @author <a href="mailto:[EMAIL PROTECTED]">Christoph G. Jung</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* Change notes:
* <ul>
* <li> 28.11.01: CGJ, Adapted to jboss3.0 single-phase mbean startup<li>
@@ -70,7 +70,9 @@
* </ul>
*/
-public class AxisService extends DeployerMBeanSupport implements AxisServiceMBean,
MBeanRegistration, Constants
+public class AxisService
+extends DeployerMBeanSupport
+implements AxisServiceMBean, MBeanRegistration, Constants
{
/** the name registered */
@@ -299,16 +301,10 @@
//----------------------------------------------------------------------------
/** we accept .wsr files */
- public FilenameFilter getDeployableFilter()
+ public boolean accepts(DeploymentInfo di)
{
- return new FilenameFilter()
- {
- public boolean accept(File dir, String filename)
- {
- filename=filename.toLowerCase();
- return filename.endsWith(WSR_FILE_EXTENSION);
- }
- };
+
+ return di.url.endsWith(WSR_FILE_EXTENSION);
}
/** deploys a given descriptor file, we & axis expect the classes
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development