Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Re-adding a call to setKnowledgeRuntime within StatefulKnowledgeSessionImpl constructor. #342

Closed
wants to merge 1 commit into from

1 participant

@mikedev9000

It seems as though this call was inadvertently removed
as part of commit 1f8dc32. The method makes a call that
results in the ksession's mbean being created and registered.

Without this call, no ksession mbeans are created.

Michael Wilson Re-adding a call to setKnowledgeRuntime.
It seems as though this call was inadvertently removed
as part of commit 1f8dc32. The method makes a call that
results in the ksession's mbean being created and registered.

Without this call, no ksession mbeans are created.
7863b6b
@mikedev9000

Fixes DROOLS-512.

@mikedev9000

I'm closing this PR in order to submit a new one for the 6.2.x branch after resolving conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 2, 2014
  1. Re-adding a call to setKnowledgeRuntime.

    Michael Wilson authored
    It seems as though this call was inadvertently removed
    as part of commit 1f8dc32. The method makes a call that
    results in the ksession's mbean being created and registered.
    
    Without this call, no ksession mbeans are created.
This page is out of date. Refresh to see the latest.
View
2  drools-core/src/main/java/org/drools/core/impl/StatefulKnowledgeSessionImpl.java
@@ -386,6 +386,8 @@ public StatefulKnowledgeSessionImpl(final int id,
if ( initInitFactHandle ) {
initInitialFact(kBase, null);
}
+
+ setKnowledgeRuntime(this);
}
public EntryPoint getEntryPoint(String name) {
Something went wrong with that request. Please try again.