[jbpm-issues] [JBoss JIRA] Commented: (JBPM-1464) Fix ObjectDescriptor.addTypedInjection(...)

Guillaume Porcher (JIRA) jira-events at lists.jboss.org
Mon Aug 11 10:12:50 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBPM-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424423#action_12424423 ] 

Guillaume Porcher commented on JBPM-1464:
-----------------------------------------

Just replacing EnvironmentTypeRefDescriptor by a ContextTypeRefDescriptor fixes the test, but may not work in other situations.
 
A solution could be to implement a TypedInjection that will look in the current context, and then in the currentEnvironment if it exists.

> Fix  ObjectDescriptor.addTypedInjection(...)
> --------------------------------------------
>
>                 Key: JBPM-1464
>                 URL: https://jira.jboss.org/jira/browse/JBPM-1464
>             Project: JBoss jBPM
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: PVM
>            Reporter: Guillaume Porcher
>            Assignee: Tom Baeyens
>            Priority: Critical
>
> There is a problem with ObjectDescriptor.addTypedInjection(...). 
> This method uses a EnvironmentTypeRefDescriptor, so this does not work if we use EnvironmentFactory.get(objectName) method (which is the case in 
> org.jbpm.pvm.samples.ex11.AsynchronousContinuationsTest). 

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

        



More information about the jbpm-issues mailing list