[jboss-jira] [JBoss JIRA] Created: (BPEL-206) activity readers file is reparsed every time a bpelReader is instantiated
Alejandro Guizar (JIRA)
jira-events at jboss.com
Tue Aug 15 16:30:24 EDT 2006
activity readers file is reparsed every time a bpelReader is instantiated
-------------------------------------------------------------------------
Key: BPEL-206
URL: http://jira.jboss.com/jira/browse/BPEL-206
Project: JBoss jBPM BPEL
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Engine
Affects Versions: jBPM BPEL 1.1 beta 1
Reporter: Alejandro Guizar
Assigned To: Alejandro Guizar
Fix For: jBPM BPEL 1.1 beta 2
The activity readers file, located by default in org/jbpm/bpel/xml/activity.readers.xml, contains the activity tag names available to the process along with the ActivityReader capable of unmarshalling the XML element to a definition object.
Each bpelReader contains its own set of activityReaders. To instantiate them, it parses the activity readers file, retrieves the ActivityReader class names, loads the classes and instantiates them. This is wasteful.
We need to parse the resource and keep a reference to the loaded classes in advance so that the bpelReader instance only instantiates the classes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list