Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.runtime.manager.impl
Class SimpleRuntimeEnvironment

    java.lang.Object
      org.jbpm.runtime.manager.impl.SimpleRuntimeEnvironment

All Implemented Interfaces:
  SchedulerProvider, org.kie.internal.runtime.manager.RuntimeEnvironment

Direct Known Subclasses:
  DefaultRuntimeEnvironment

    public class SimpleRuntimeEnvironment

extends Object
implements org.kie.internal.runtime.manager.RuntimeEnvironment, SchedulerProvider

Field Summary
`protected KieSessionConfiguration` | `configuration`
`protected Environment` | `environment`
`protected KieBase` | `kbase`
`protected org.kie.internal.builder.KnowledgeBuilder` | `kbuilder`
`protected org.kie.internal.runtime.manager.Mapper` | `mapper`
`protected org.kie.internal.runtime.manager.RegisterableItemsFactory` | `registerableItemsFactory`
`protected GlobalSchedulerService` | `schedulerService`
`protected Properties` | `sessionConfigProperties`
`protected org.kie.internal.task.api.UserGroupCallback` | `userGroupCallback`

Constructor Summary
`SimpleRuntimeEnvironment()`
`SimpleRuntimeEnvironment(org.kie.internal.runtime.manager.RegisterableItemsFactory registerableItemsFactory)`

Method Summary
`void` | `addAsset(Resource resource, ResourceType type)`
`protected void` | `addIfPresent(String name, Environment copy)`
`void` | `addToConfiguration(String name, String value)`
`void` | `addToEnvironment(String name, Object value)`
`void` | `close()`
`protected Environment` | `copyEnvironment()`
`KieSessionConfiguration` | `getConfiguration()`
`Environment` | `getEnvironment()`
`KieBase` | `getKieBase()`
`org.kie.internal.runtime.manager.Mapper` | `getMapper()`
`org.kie.internal.runtime.manager.RegisterableItemsFactory` | `getRegisterableItemsFactory()`
`GlobalSchedulerService` | `getSchedulerService()`
`Properties` | `getSessionConfigProperties()`
`org.kie.internal.task.api.UserGroupCallback` | `getUserGroupCallback()`
`void` | `setMapper(org.kie.internal.runtime.manager.Mapper mapper)`
`void` | `setRegisterableItemsFactory(org.kie.internal.runtime.manager.RegisterableItemsFactory registerableItemsFactory)`
`void` | `setSchedulerService(GlobalSchedulerService schedulerService)`
`void` | `setSessionConfigProperties(Properties sessionConfigProperties)`
`void` | `setUserGroupCallback(org.kie.internal.task.api.UserGroupCallback userGroupCallback)`
`boolean` | `usePersistence()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### environment

    protected Environment environment

### configuration

    protected KieSessionConfiguration configuration

### kbase

    protected KieBase kbase

### kbuilder

    protected org.kie.internal.builder.KnowledgeBuilder kbuilder

### registerableItemsFactory

    protected org.kie.internal.runtime.manager.RegisterableItemsFactory registerableItemsFactory

### mapper

    protected org.kie.internal.runtime.manager.Mapper mapper

### userGroupCallback

    protected org.kie.internal.task.api.UserGroupCallback userGroupCallback

### schedulerService

    protected GlobalSchedulerService schedulerService

### sessionConfigProperties

    protected Properties sessionConfigProperties

Constructor Detail

### SimpleRuntimeEnvironment

    public SimpleRuntimeEnvironment()

### SimpleRuntimeEnvironment

    public SimpleRuntimeEnvironment(org.kie.internal.runtime.manager.RegisterableItemsFactory registerableItemsFactory)

Method Detail

### addAsset

    public void addAsset(Resource resource,
                         ResourceType type)

### addToEnvironment

    public void addToEnvironment(String name,
                                 Object value)

### addToConfiguration

    public void addToConfiguration(String name,
                                   String value)

### getKieBase

    public KieBase getKieBase()

  Specified by:
    `getKieBase` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### getEnvironment

    public Environment getEnvironment()

  Specified by:
    `getEnvironment` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### getConfiguration

    public KieSessionConfiguration getConfiguration()

  Specified by:
    `getConfiguration` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### usePersistence

    public boolean usePersistence()

  Specified by:
    `usePersistence` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### getRegisterableItemsFactory

    public org.kie.internal.runtime.manager.RegisterableItemsFactory getRegisterableItemsFactory()

  Specified by:
    `getRegisterableItemsFactory` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### close

    public void close()

  Specified by:
    `close` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### addIfPresent

    protected void addIfPresent(String name,
                                Environment copy)

### copyEnvironment

    protected Environment copyEnvironment()

### getMapper

    public org.kie.internal.runtime.manager.Mapper getMapper()

  Specified by:
    `getMapper` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### getUserGroupCallback

    public org.kie.internal.task.api.UserGroupCallback getUserGroupCallback()

  Specified by:
    `getUserGroupCallback` in interface `org.kie.internal.runtime.manager.RuntimeEnvironment`

### setUserGroupCallback

    public void setUserGroupCallback(org.kie.internal.task.api.UserGroupCallback userGroupCallback)

### getSessionConfigProperties

    public Properties getSessionConfigProperties()

### setSessionConfigProperties

    public void setSessionConfigProperties(Properties sessionConfigProperties)

### setRegisterableItemsFactory

    public void setRegisterableItemsFactory(org.kie.internal.runtime.manager.RegisterableItemsFactory registerableItemsFactory)

### setMapper

    public void setMapper(org.kie.internal.runtime.manager.Mapper mapper)

### getSchedulerService

    public GlobalSchedulerService getSchedulerService()

  Specified by:
    `getSchedulerService` in interface `SchedulerProvider`

### setSchedulerService

    public void setSchedulerService(GlobalSchedulerService schedulerService)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.