public class RuntimeConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addActiveRules(Map<String,Rule> rules) |
String |
findBeanByName(String string) |
ArrayList<String> |
getActiveRules() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
Map<String,String> |
getBeanMapping() |
ClassLoader |
getClassLoader() |
ClassLoader |
getClassLoader(org.apache.maven.project.MavenProject project)
Retrieves the classloader for a given MavenProject
|
static RuntimeConfig |
getInstance() |
String[] |
getViadeeRules() |
boolean |
isTest() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
void |
setBeanMapping(Map<String,String> beanMap) |
void |
setClassLoader(ClassLoader classLoader) |
void |
setTest(boolean test) |
public static RuntimeConfig getInstance()
public void setClassLoader(ClassLoader classLoader)
public ClassLoader getClassLoader()
public ClassLoader getClassLoader(org.apache.maven.project.MavenProject project) throws MalformedURLException, org.apache.maven.artifact.DependencyResolutionRequiredException
project - MavenProjectMalformedURLException - indicate that a malformed URL has occurredorg.apache.maven.artifact.DependencyResolutionRequiredException - DependencyResolutionRequiredExceptionpublic boolean isTest()
public void setTest(boolean test)
public String[] getViadeeRules()
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
public org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2018 viadee Unternehmensberatung GmbH. All rights reserved.