From da04e4c7dd6755505ea480e23e717cdd3ebe93c0 Mon Sep 17 00:00:00 2001 From: markpollack Date: Fri, 5 Sep 2008 15:50:16 +0000 Subject: [PATCH] SPRNET-1025 - Make GetObject virtual in MethodInvokingJobDetailFactoryObject and provide protected access to JobDetail object. --- .../Quartz/MethodInvokingJobDetailFactoryObject.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/MethodInvokingJobDetailFactoryObject.cs b/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/MethodInvokingJobDetailFactoryObject.cs index 78ff6f7a..e66d74ff 100644 --- a/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/MethodInvokingJobDetailFactoryObject.cs +++ b/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/MethodInvokingJobDetailFactoryObject.cs @@ -105,7 +105,17 @@ namespace Spring.Scheduling.Quartz set { concurrent = value; } } - /// + + /// + /// Gets the job detail. + /// + /// The job detail. + protected JobDetail JobDetail + { + get { return jobDetail; } + } + + /// /// Set a list of JobListener names for this job, referring to /// non-global JobListeners registered with the Scheduler. /// @@ -151,7 +161,7 @@ namespace Spring.Scheduling.Quartz /// probably fatal) exception. /// /// - public object GetObject() + public virtual object GetObject() { return jobDetail; }