public class RuntimeManagerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
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 |
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()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.