Skip to content

Commit

Permalink
BZ-1025835 - JMX does not show process data
Browse files Browse the repository at this point in the history
 - delaying initManagementBeans() until processRuntime is created
  • Loading branch information
krisv committed Nov 29, 2013
1 parent 983f41b commit 07522d9
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -374,8 +374,6 @@ public AbstractWorkingMemory(final int id,
}
this.agenda.setWorkingMemory(this);

initManagementBeans();

if ( initInitFactHandle ) {
initInitialFact(ruleBase, null);
}
Expand Down Expand Up @@ -1770,6 +1768,7 @@ public void dispose() {
public void setKnowledgeRuntime(InternalKnowledgeRuntime kruntime) {
this.kruntime = kruntime;
this.processRuntime = createProcessRuntime();
initManagementBeans();
}

public InternalKnowledgeRuntime getKnowledgeRuntime() {
Expand Down

0 comments on commit 07522d9

Please sign in to comment.