|
KIE API 6.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KieContainer
A container for all the KieBases of a given KieModule
Method Summary | |
---|---|
ClassLoader |
getClassLoader()
Returns the ClassLoader used by this KieContainer |
KieBase |
getKieBase()
Returns the default KieBase in this KieContainer. |
KieBase |
getKieBase(String kBaseName)
Returns the KieBase with the given name in this KieContainer. |
ReleaseId |
getReleaseId()
Returns the ReleaseId of the KieModule wrapped by this KieContainer |
KieBase |
newKieBase(KieBaseConfiguration conf)
Creates a new default KieBase using the given configuration. |
KieBase |
newKieBase(String kBaseName,
KieBaseConfiguration conf)
Creates a new KieBase with the given name using the given configuration. |
KieSession |
newKieSession()
Creates the default KieSession for this KieContainer |
KieSession |
newKieSession(Environment environment)
Creates the default KieSession for this KieContainer using the given Environment |
KieSession |
newKieSession(KieSessionConfiguration conf)
Creates the default KieSession for this KieContainer with the given configuration |
KieSession |
newKieSession(String kSessionName)
Creates the KieSession with the given name for this KieContainer |
KieSession |
newKieSession(String kSessionName,
Environment environment)
Creates the KieSession with the given name for this KieContainer using the given Environment |
KieSession |
newKieSession(String kSessionName,
Environment environment,
KieSessionConfiguration conf)
Creates the KieSession with the given name for this KieContainer using the given Environment and configuration |
KieSession |
newKieSession(String kSessionName,
KieSessionConfiguration conf)
Creates the KieSession with the given name for this KieContainer with the given configuration |
StatelessKieSession |
newStatelessKieSession()
Creates the default StatelessKieSession for this KieContainer |
StatelessKieSession |
newStatelessKieSession(KieSessionConfiguration conf)
Creates the default StatelessKieSession for this KieContainer using the given configuration |
StatelessKieSession |
newStatelessKieSession(String kSessionName)
Creates the StatelessKieSession with the given name for this KieContainer |
StatelessKieSession |
newStatelessKieSession(String kSessionName,
KieSessionConfiguration conf)
Creates the StatelessKieSession with the given name for this KieContainer using the given configuration |
void |
updateToVersion(ReleaseId version)
Updates this KieContainer to a KieModule with the given ReleaseId |
Results |
verify()
Builds all the KieBase in the KieModule wrapped by this KieContainer and return te Results of this building process |
Method Detail |
---|
ReleaseId getReleaseId()
Results verify()
void updateToVersion(ReleaseId version)
KieBase getKieBase()
RuntimeException
- if this KieContainer doesn't have any default KieBaseKieBaseModel.setDefault(boolean)
KieBase getKieBase(String kBaseName)
RuntimeException
- if this KieContainer doesn't have any KieBase with the given nameKieBase newKieBase(KieBaseConfiguration conf)
RuntimeException
- if this KieContainer doesn't have any default KieBaseKieBaseModel.setDefault(boolean)
KieBase newKieBase(String kBaseName, KieBaseConfiguration conf)
RuntimeException
- if this KieContainer doesn't have any KieBase with the given nameKieSession newKieSession()
RuntimeException
- if this KieContainer doesn't have any default KieSessionKieSessionModel.setDefault(boolean)
KieSession newKieSession(KieSessionConfiguration conf)
RuntimeException
- if this KieContainer doesn't have any default KieSessionKieSessionModel.setDefault(boolean)
KieSession newKieSession(Environment environment)
RuntimeException
- if this KieContainer doesn't have any default KieSessionKieSessionModel.setDefault(boolean)
KieSession newKieSession(String kSessionName)
RuntimeException
- if this KieContainer doesn't have any KieSession with the given nameKieSession newKieSession(String kSessionName, Environment environment)
RuntimeException
- if this KieContainer doesn't have any KieSession with the given nameKieSession newKieSession(String kSessionName, KieSessionConfiguration conf)
RuntimeException
- if this KieContainer doesn't have any KieSession with the given nameKieSession newKieSession(String kSessionName, Environment environment, KieSessionConfiguration conf)
RuntimeException
- if this KieContainer doesn't have any KieSession with the given nameStatelessKieSession newStatelessKieSession()
RuntimeException
- if this KieContainer doesn't have any default StatelessKieSessionKieSessionModel.setDefault(boolean)
StatelessKieSession newStatelessKieSession(KieSessionConfiguration conf)
RuntimeException
- if this KieContainer doesn't have any default StatelessKieSessionKieSessionModel.setDefault(boolean)
StatelessKieSession newStatelessKieSession(String kSessionName)
RuntimeException
- if this KieContainer doesn't have any StatelessKieSession with the given nameStatelessKieSession newStatelessKieSession(String kSessionName, KieSessionConfiguration conf)
RuntimeException
- if this KieContainer doesn't have any StatelessKieSession with the given nameClassLoader getClassLoader()
|
KIE API 6.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |