public class Profile extends Object implements org.marid.itf.Named, Closeable, org.marid.logging.LogSupport
org.marid.logging.LogSupport.Log| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.annotation.AnnotationConfigApplicationContext |
applicationContext |
protected List<org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>> |
applicationListeners |
protected org.codehaus.groovy.control.CompilerConfiguration |
compilerConfiguration |
protected StringWriter |
compilerOutput |
protected ExecutorService |
executor |
protected Path |
path |
protected ProfileManager |
profileManager |
protected groovy.lang.GroovyShell |
shell |
protected ThreadGroup |
threadGroup |
LOGGERS| Constructor and Description |
|---|
Profile(ProfileManager profileManager,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
addApplicationListener(org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent> applicationListener) |
void |
clearCompilerOutputBuffer() |
void |
close() |
<T> T |
contextResult(org.marid.functions.SafeFunction<org.springframework.context.annotation.AnnotationConfigApplicationContext,T> function) |
protected void |
finalize() |
org.springframework.context.annotation.AnnotationConfigApplicationContext |
getApplicationContext() |
Path |
getClassesPath() |
StringBuffer |
getCompilerOutputBuffer() |
MBeanServerConnection |
getConnection() |
Path |
getContextPath() |
String |
getName() |
boolean |
isStarted() |
Class<?> |
loadClass(String name) |
void |
removeApplicationListener(org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent> applicationListener) |
void |
start() |
void |
start(Runnable init) |
void |
stop() |
String |
toString() |
void |
update() |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareToconfig, fine, finer, finest, info, log, log, logger, severe, severe, warning, warningprotected final ProfileManager profileManager
protected final List<org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>> applicationListeners
protected final StringWriter compilerOutput
protected final org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration
protected final Path path
protected final groovy.lang.GroovyShell shell
protected final ThreadGroup threadGroup
protected final ExecutorService executor
protected org.springframework.context.annotation.AnnotationConfigApplicationContext applicationContext
public Profile(ProfileManager profileManager, Path path)
public StringBuffer getCompilerOutputBuffer()
public void clearCompilerOutputBuffer()
public void addApplicationListener(org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent> applicationListener)
public void removeApplicationListener(org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent> applicationListener)
public Path getClassesPath()
public Path getContextPath()
public String getName()
getName in interface org.marid.itf.Namedprotected void finalize()
throws Throwable
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void update()
public void start(Runnable init)
public void start()
public void stop()
public boolean isStarted()
public org.springframework.context.annotation.AnnotationConfigApplicationContext getApplicationContext()
public <T> T contextResult(org.marid.functions.SafeFunction<org.springframework.context.annotation.AnnotationConfigApplicationContext,T> function)
public MBeanServerConnection getConnection()
Copyright © 2012–2015 MARID software development group. All rights reserved.