[jboss-jira] [JBoss JIRA] Created: (JBPM-1055) make org.jbpm.job.Timer's businessCalendar field lazy init

yi gong (JIRA) jira-events at lists.jboss.org
Wed Sep 12 10:35:11 EDT 2007


make org.jbpm.job.Timer's businessCalendar field lazy init
----------------------------------------------------------

                 Key: JBPM-1055
                 URL: http://jira.jboss.com/jira/browse/JBPM-1055
             Project: JBoss jBPM
          Issue Type: Feature Request
          Components: BPEL
    Affects Versions:  jBPM jPDL 3.2.1
         Environment: jbpm 3.2.1+sun jdk1.5
            Reporter: yi gong
         Assigned To: Tom Baeyens


When create jbpm hibernate session factory, The timer class will initialize its static member "businessCalendar" , and BusinessCalendar will find "resource.business.calendar" from jbpm config. This will create a default jbpmContext immediately. 
The setDefaultObjectFactory function will be nouse after these steps.

How about to make businessCalendar lazy init until its first use?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list