diff --git a/config-layers/common/Initial.properties b/config-layers/common/Initial.properties index bcf0e32..0c880f0 100644 --- a/config-layers/common/Initial.properties +++ b/config-layers/common/Initial.properties @@ -1,3 +1,4 @@ +#/Initial $class=in.erail.glue.component.Initial initial=\ diff --git a/src/main/java/in/erail/schedular/SchedulerService.java b/src/main/java/in/erail/schedular/SchedulerService.java index b8fe168..b6d4d0a 100644 --- a/src/main/java/in/erail/schedular/SchedulerService.java +++ b/src/main/java/in/erail/schedular/SchedulerService.java @@ -5,6 +5,7 @@ import io.reactivex.Scheduler; import io.reactivex.schedulers.Schedulers; import java.util.concurrent.TimeUnit; +import org.apache.logging.log4j.Logger; /** * @@ -12,13 +13,14 @@ */ public abstract class SchedulerService { + private Logger mLog; private SchedulerType mSchedularType; private TimeUnit mTimeUnit; private long mInterval; private boolean mRecurring; @StartService - void start() { + public void start() { Scheduler scheduler; @@ -85,4 +87,12 @@ public void setRecurring(boolean pRecurring) { this.mRecurring = pRecurring; } + public Logger getLog() { + return mLog; + } + + public void setLog(Logger pLog) { + this.mLog = pLog; + } + }