|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.grid.jgdi.util.JGDIShell
public class JGDIShell
Constructor Summary | |
---|---|
JGDIShell()
|
Method Summary | |
---|---|
static java.util.List<java.lang.Class> |
getAllAnnotatedClasses(java.lang.Package pkg,
java.lang.Class annotated)
Attempts to list annotated classes in the given package and its ancestors as determined by the context class loader |
JGDI |
getConnection()
Getter method |
java.io.PrintWriter |
getErr()
Getter method |
java.util.logging.Logger |
getLogger()
Getter method |
java.io.PrintWriter |
getOut()
Getter method |
static java.lang.String |
getResourceString(java.lang.String key)
|
static void |
main(java.lang.String[] args)
|
void |
run()
|
int |
runShellCommand(java.lang.String line)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JGDIShell()
Method Detail |
---|
public JGDI getConnection()
getConnection
in interface Shell
public java.util.logging.Logger getLogger()
getLogger
in interface Shell
public java.io.PrintWriter getOut()
getOut
in interface Shell
public java.io.PrintWriter getErr()
getErr
in interface Shell
public void run()
run
in interface java.lang.Runnable
public int runShellCommand(java.lang.String line) throws java.lang.InterruptedException, java.io.IOException, java.lang.InterruptedException
java.lang.InterruptedException
java.io.IOException
public static void main(java.lang.String[] args)
public static java.lang.String getResourceString(java.lang.String key)
public static java.util.List<java.lang.Class> getAllAnnotatedClasses(java.lang.Package pkg, java.lang.Class annotated) throws java.lang.ClassNotFoundException
pkg
- a Package as a starting pointannotated
- Class the annotation class to search
java.lang.ClassNotFoundException
- if something went wrong
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |