Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
exec(String className,
String... args)
Executes the given main class.
|
ClassLoader |
getClassLoader()
Returns the class loader of this session.
|
public ClassLoader getClassLoader()
public void exec(String className, String... args)
className
- the main class nameargs
- the program argumentsIllegalStateException
- if error occurred while running main classpublic void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.