[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...

Gavin King gavin.king at jboss.com
Fri Jun 15 20:46:33 EDT 2007


  User: gavin   
  Date: 07/06/15 20:46:33

  Modified:    src/main/org/jboss/seam/core  Jbpm.java
  Log:
  introduce interceptor
  
  Revision  Changes    Path
  1.43      +3 -0      jboss-seam/src/main/org/jboss/seam/core/Jbpm.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Jbpm.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Jbpm.java,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -b -r1.42 -r1.43
  --- Jbpm.java	3 Jun 2007 01:58:01 -0000	1.42
  +++ Jbpm.java	16 Jun 2007 00:46:32 -0000	1.43
  @@ -24,6 +24,7 @@
   import org.jboss.seam.annotations.Startup;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.jbpm.SeamFunctionMapper;
  +import org.jboss.seam.jbpm.SeamUserCodeInterceptor;
   import org.jboss.seam.jbpm.SeamVariableResolver;
   import org.jboss.seam.log.LogProvider;
   import org.jboss.seam.log.Logging;
  @@ -33,6 +34,7 @@
   import org.jbpm.JbpmConfiguration;
   import org.jbpm.JbpmContext;
   import org.jbpm.graph.def.ProcessDefinition;
  +import org.jbpm.instantiation.UserCodeInterceptorConfig;
   import org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator;
   import org.jbpm.persistence.db.DbPersistenceServiceFactory;
   import org.xml.sax.InputSource;
  @@ -68,6 +70,7 @@
         installPageflowDefinitions();
         JbpmExpressionEvaluator.setVariableResolver( new SeamVariableResolver() );
         JbpmExpressionEvaluator.setFunctionMapper( new SeamFunctionMapper() );
  +      UserCodeInterceptorConfig.setUserCodeInterceptor( new SeamUserCodeInterceptor() );
      }
   
      @Destroy
  
  
  



More information about the jboss-cvs-commits mailing list