[jboss-user] [JBoss Seam] - Re: jbpm as external sar seam configuration
Jabberwocky
do-not-reply at jboss.com
Fri Oct 20 07:02:40 EDT 2006
I've added new property named 'jndiConfiguration' for org.jboss.seam.core.Jbpm component and fixed method for creation jbpmConfiguration
| private void initJbpmConfiguration(){
| if (jndiConfiguration != null && !"".equals(jndiConfiguration.trim())) {
| try { jbpmConfiguration= (JbpmConfiguration) new InitialContext().lookup(jndiConfiguration);
| } catch (NamingException e) {
| throw new RuntimeException("Can not create jbpmConfiguration from jndi. jndiName='"+jndiConfiguration+"'",e);
| }
| }else {
| jbpmConfiguration = JbpmConfiguration.getInstance();
| }
| ....
| }
|
components.xml
| <component class="org.jboss.seam.core.Jbpm">
| <property name="jndiConfiguration">java:/jbpm/JbpmConfiguration</property>
| </component>
|
Now everythig looks fine.
Is that enough for jira feature request?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979619#3979619
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979619
More information about the jboss-user
mailing list