Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010 JBoss Inc
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *      http://www.apache.org/licenses/LICENSE-2.0
   *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 package org.drools;
 
 
KnowledgeBaseFactoryService is the interface implemented by KnowledgeBaseFactory. This class is not considered stable and may change. Users are referred to the KnowledgeBaseFactory API, which is considered stable.
 
 public interface KnowledgeBaseFactoryService extends Service {

    
Instantiate and return a new KnowledgeBaseConfiguration

Returns:
the KnowledgeBaseConfiguration
 
Instantiate and return a new KnowledgeBaseConfiguration

Parameters:
properties Properties file to process, can be null;
classLoader Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()
Returns:
The KnowledgeBaseConfiguration
 
                                                                     ClassLoader... classLoader);

    
Instantiate and return a new KnowledgeSessionConfiguration

Returns:
the KnowledgeSessionConfiguration
 
Instantiate and return a new KnowledgeSessionConfiguration

Parameters:
properties Properties file to process, can be null;
classLoader Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()
Returns:
The KnowledgeSessionConfiguration
 
Instantiate and return a KnowledgeBase using a default KnowledgeBaseConfiguration

Returns:
The KnowledgeBase
 
     KnowledgeBase newKnowledgeBase();

    
Instantiate and return a KnowledgeBase using a default KnowledgeBaseConfiguration and the given KnowledgeBase ID.

Parameters:
kbaseId A string Identifier for the knowledge base. Specially useful when enabling JMX monitoring and management, as that ID will be used to compose the JMX ObjectName for all related MBeans. The application must ensure all kbase IDs are unique.
Returns:
The KnowledgeBase
 
     KnowledgeBase newKnowledgeBaseString kbaseId );

    
Instantiate and return a KnowledgeBase using the given KnowledgeBaseConfiguration

Parameters:
conf The KnowledgeBaseConfiguration to be used
Returns:
The KnowledgeBase
Instantiate and return a KnowledgeBase using the given KnowledgeBaseConfiguration and the given KnowledgeBase ID.

Parameters:
kbaseId A string Identifier for the knowledge base. Specially useful when enabling JMX monitoring and management, as that ID will be used to compose the JMX ObjectName for all related MBeans. The application must ensure all kbase IDs are unique.
conf The KnowledgeBaseConfiguration to be used
Returns:
The KnowledgeBase
Instantiate and return an Environment

Returns:
The Environment
New to GrepCode? Check out our FAQ X