I guess I need to override the startup method. This is what I have done so far
| import static org.jboss.seam.InterceptionType.NEVER; | import static org.jboss.seam.annotations.Install.BUILT_IN; | | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Create; | import org.jboss.seam.annotations.Install; | import org.jboss.seam.annotations.Intercept; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.annotations.Startup; | import org.jboss.seam.jbpm.SeamVariableResolver; | import org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator; | import org.jboss.seam.core.Jbpm; | import org.jboss.seam.log.Log; | | @Scope(ScopeType.APPLICATION) | @Startup(depends = { "org.jboss.seam.core.microcontainer", | "org.jboss.seam.core.ejb" }) | @Name("org.jboss.seam.core.jbpm.init") | @Install(value = false, precedence = BUILT_IN) | public class JbpmInitializer extends Jbpm { | | @Logger | Log log; | | @Create | public void startup() throws Exception { | log.trace("Starting jBPM"); | JbpmExpressionEvaluator.setVariableResolver(new SeamVariableResolver()); | this.invokeJbpmContext(); | } | | public void invokeJbpmContext() { | //Invokation goes here | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035259#4035259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035259 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user