public class RuntimeManagerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
RuntimeManager of given type based on provided
runtimeEnvironment (which is a mandatory property).
Supported types:
identifier is a mandatory property.
| Constructor and Description |
|---|
RuntimeManagerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
close() |
String |
getIdentifier() |
Object |
getObject() |
Class<?> |
getObjectType() |
org.kie.api.runtime.manager.RuntimeEnvironment |
getRuntimeEnvironment() |
String |
getType() |
boolean |
isSingleton() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setIdentifier(String identifier) |
void |
setRuntimeEnvironment(org.kie.api.runtime.manager.RuntimeEnvironment runtimeEnvironment) |
void |
setType(String type) |
public Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic org.kie.api.runtime.manager.RuntimeEnvironment getRuntimeEnvironment()
public void setRuntimeEnvironment(org.kie.api.runtime.manager.RuntimeEnvironment runtimeEnvironment)
public String getIdentifier()
public void setIdentifier(String identifier)
public String getType()
public void setType(String type)
public void close()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.