Skip to content
Permalink
Browse files
use o.a.a package namespace for spring-quartz component
  • Loading branch information
olamy committed Apr 11, 2012
1 parent 7b71b77 commit abc71ce6bda46d75901e543e77914bbd577a44b8
Showing 11 changed files with 14 additions and 17 deletions.
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -26,7 +26,6 @@
import org.quartz.SchedulerFactory;
import org.quartz.Trigger;
import org.quartz.TriggerListener;
import org.quartz.core.QuartzScheduler;
import org.quartz.impl.JobDetailImpl;
import org.quartz.impl.StdScheduler;
import org.quartz.impl.StdSchedulerFactory;
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler.configuration;
package org.apache.archiva.redback.components.scheduler.configuration;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -19,7 +19,7 @@
* under the License.
*/

import org.codehaus.redback.components.scheduler.Scheduler;
import org.apache.archiva.redback.components.scheduler.Scheduler;
import org.quartz.impl.StdSchedulerFactory;
import org.springframework.stereotype.Service;

@@ -29,6 +29,6 @@

<context:annotation-config />
<context:component-scan
base-package="org.codehaus.redback.components.scheduler"/>
base-package="org.apache.archiva.redback.components.scheduler"/>

</beans>
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -20,6 +20,7 @@
*/

import junit.framework.TestCase;
import org.apache.archiva.redback.components.scheduler.CronExpressionValidator;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -1,4 +1,4 @@
package org.codehaus.redback.components.scheduler;
package org.apache.archiva.redback.components.scheduler;

/*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -20,13 +20,10 @@
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

<bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
<bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
<property name="properties">
<props>
<prop key="org.quartz.scheduler.instanceName">scheduler1</prop>

0 comments on commit abc71ce

Please sign in to comment.