|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.plugin.CRaSHPlugin<Language> org.crsh.lang.impl.LanguageProxy
public class LanguageProxy
A command manager that is able to load a command manager via reflection.
Field Summary | |
---|---|
private String |
className
. |
private String |
name
. |
private AtomicReference<Language> |
real
. |
Fields inherited from class org.crsh.plugin.CRaSHPlugin |
---|
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING, log |
Constructor Summary | |
---|---|
LanguageProxy(String name,
String className)
|
Method Summary | |
---|---|
void |
destroy(ShellSession session)
Destroy session callback. |
Compiler |
getCompiler()
|
String |
getDisplayName()
|
Language |
getImplementation()
Returns the implementation. |
String |
getName()
|
Repl |
getRepl()
|
void |
init()
Implement this method to know about init life cycle callback. |
void |
init(ShellSession session)
Init session callback. |
boolean |
isActive()
|
Methods inherited from class org.crsh.plugin.CRaSHPlugin |
---|
createConfigurationCapabilities, destroy, getConfigurationCapabilities, getContext, getStatus, getType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final AtomicReference<Language> real
private final String name
private final String className
Constructor Detail |
---|
public LanguageProxy(String name, String className)
Method Detail |
---|
public Language getImplementation()
CRaSHPlugin
getImplementation
in class CRaSHPlugin<Language>
public void init()
CRaSHPlugin
init
in class CRaSHPlugin<Language>
public String getName()
getName
in interface Language
public String getDisplayName()
getDisplayName
in interface Language
public boolean isActive()
isActive
in interface Language
public Repl getRepl()
getRepl
in interface Language
public Compiler getCompiler()
getCompiler
in interface Language
public void init(ShellSession session)
Language
init
in interface Language
session
- the initialized sessionpublic void destroy(ShellSession session)
Language
destroy
in interface Language
session
- the destroyed session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |