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() |
protected void |
disallowSharedTaskService(org.kie.api.runtime.manager.RuntimeEnvironment environment) |
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.FactoryBean
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public 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.ApplicationContextAware
org.springframework.beans.BeansException
protected void disallowSharedTaskService(org.kie.api.runtime.manager.RuntimeEnvironment environment)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.