2 Replies Latest reply on Mar 18, 2006 9:32 AM by svetzal

    dead classes?

    svetzal

      Hi Guys,

      I can't find anything in the web console that actually uses these classes:

      org.jbpm.webapp.context.Context
      org.jbpm.webapp.context.BpmContext
      org.jbpm.webapp.context.PersistenceContext

      They set up a ThreadLocal pattern to obtain a JbpmSession or IdentitySession (PersistenceContext) and a ProcessDefinition or TaskInstance (BpmContext).

      JbpmSession is marked deprecated so that leads me to believe this infrastructure is on its way out - so I've removed them from my facelet console project.

      Any gasps? Hesitations?

      Steve

        • 1. Re: dead classes?
          tom.baeyens

          currently i'm reworking the whole webapp.

          1) security has been changed to JAAS
          2) view is based on facelets
          3) process task forms based on facelets
          4) access, creation and closing of the JbpmContext is based on a managed bean, combined with a JSF phase listener instead of http filters.

          webapp in current cvs is in horrible. i hope to get the process participant part working again beginning of next week.

          regards, tom.

          • 2. Re: dead classes?
            svetzal

             

            "tom.baeyens@jboss.com" wrote:

            4) access, creation and closing of the JbpmContext is based on a managed bean, combined with a JSF phase listener instead of http filters.


            Phase listener, huh? I'm curious :)

            "tom.baeyens@jboss.com" wrote:

            webapp in current cvs is in horrible. i hope to get the process participant part working again beginning of next week.


            Ahh if we only had infinite time.