public abstract class SpringBeanAccessor extends Object
| Constructor and Description |
|---|
SpringBeanAccessor(org.springframework.context.ApplicationContext parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected String[] |
getActiveProfiles() |
protected abstract List<org.bonitasoft.platform.configuration.model.BonitaConfiguration> |
getConfigurationFromDatabase() |
org.springframework.context.ApplicationContext |
getContext() |
protected abstract Properties |
getProperties() |
<T> T |
getService(Class<T> serviceClass) |
<T> T |
getService(String serviceName) |
<T> T |
getService(String name,
Class<T> clazz) |
protected abstract List<String> |
getSpringFileFromClassPath(boolean cluster) |
protected boolean |
isCluster() |
public SpringBeanAccessor(org.springframework.context.ApplicationContext parent)
protected String[] getActiveProfiles() throws IOException, BonitaHomeNotSetException
IOExceptionBonitaHomeNotSetExceptionpublic <T> T getService(Class<T> serviceClass)
public <T> T getService(String serviceName)
public org.springframework.context.ApplicationContext getContext()
public void destroy()
protected abstract Properties getProperties() throws IOException
IOExceptionprotected abstract List<org.bonitasoft.platform.configuration.model.BonitaConfiguration> getConfigurationFromDatabase() throws IOException
IOExceptionprotected abstract List<String> getSpringFileFromClassPath(boolean cluster)
protected boolean isCluster()
throws IOException
IOExceptionCopyright © 2016 Bonitasoft S.A.. All rights reserved.