JBoss Community

Bug: jPBM 4.4: JbpmException thrown by ActivityExecution.getActivity()

reply from Michael Wohlfart in jBPM - View the full discussion

HuiSheng Xu wrote:

 

[...] And yes,  the Environment interface didn't declared close() method,  because we didn't need it.  The EnvironmentInterceptor will open/close the Environment instance automaticly. [...]

Hi HuiSheng,

can I please have the close() method on the interface, all implementing classes also implement close(), the method is in the interface according to the docs: http://docs.jboss.com/jbpm/v4/devguide/html_single/#d0e3068 and finally it's freaking ugly to cast each time i open/close an environment manually...

Reply to this message by going to Community

Start a new discussion in jBPM at Community