public abstract class AbstractProjectContext extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Field and Description |
|---|---|
protected List<URL> |
additionalClasspath |
protected File |
projectDir |
protected File |
resourcesDir |
| Constructor and Description |
|---|
AbstractProjectContext(ProjectProperties projConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.core.env.PropertySources |
applyPlaceholderReplacements(org.springframework.core.env.MutablePropertySources propertySources) |
void |
cancel() |
protected minium.script.rhinojs.RhinoEngine |
createJsEngine() |
void |
destroy() |
Object |
eval(Evaluation evaluation) |
protected <T> T |
getAppConfigBean(String targetName,
Class<T> clazz) |
StackTraceElement[] |
getExecutionStackTrace() |
boolean |
isRunning() |
protected org.springframework.core.env.PropertySources |
loadConfiguration() |
List<String> |
loadedDependencies() |
protected abstract void |
refreshAdditionalClasspath() |
protected void |
refreshConfiguration() |
void |
resetEngine() |
minium.Elements |
root() |
String |
toString(Object obj) |
void |
updateDependencies() |
public AbstractProjectContext(ProjectProperties projConfiguration) throws Exception
Exceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void resetEngine()
protected abstract void refreshAdditionalClasspath()
throws Exception
Exceptionpublic minium.Elements root()
public Object eval(Evaluation evaluation) throws Exception
Exceptionpublic StackTraceElement[] getExecutionStackTrace()
public boolean isRunning()
public void cancel()
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionprotected minium.script.rhinojs.RhinoEngine createJsEngine()
protected org.springframework.core.env.PropertySources loadConfiguration()
throws Exception
Exceptionprotected <T> T getAppConfigBean(String targetName, Class<T> clazz) throws Exception
Exceptionprotected org.springframework.core.env.PropertySources applyPlaceholderReplacements(org.springframework.core.env.MutablePropertySources propertySources)
Copyright © 2019 VILT Group. All rights reserved.