public StatefulKnowledgeSession newStatefulKnowledgeSession(KnowledgeBase kbase,
KnowledgeSessionConfiguration configuration,
Environment environment) {
if ( configuration == null ) {
configuration = new SessionConfiguration();
}
if ( environment == null ) {
throw new IllegalArgumentException( "Environment cannot be null" );
}