|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.tool.envcheck.AbstractPlugin
com.sun.jini.tool.envcheck.plugins.CheckJDK1_4
public class CheckJDK1_4
Check that the Java platform is at least version 1.4. This check is applied
to the VM invoked by the command line being analyzed and the VM invoked by
a SharedActivationGroupDescriptor
if the
descriptor's getServerCommand()
method returns non-null.
Nested Class Summary | |
---|---|
static class |
CheckJDK1_4.JDK1_4Task
Subtask to check the VM version. |
Field Summary | |
---|---|
private EnvCheck |
envCheck
reference to the plugin container |
private String |
taskName
name of task to execute |
Constructor Summary | |
---|---|
CheckJDK1_4()
|
Method Summary | |
---|---|
private void |
checkGroupVM()
Check the activation group VM. |
private void |
checkMainVM()
Check the vm invoked by the command-line java command. |
private void |
processReturn(Object o,
String source)
Process the object returned by the subtask. |
void |
run(EnvCheck envCheck)
Check the validity of the activation group VM (if there is one) |
Methods inherited from class com.sun.jini.tool.envcheck.AbstractPlugin |
---|
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, isPluginOption, taskName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private EnvCheck envCheck
private String taskName
Constructor Detail |
---|
public CheckJDK1_4()
Method Detail |
---|
public void run(EnvCheck envCheck)
envCheck
- the containerprivate void checkGroupVM()
SharedActivationGroupDescriptor
available from the
container, invoke a subtask which verifies that the VM used to run that
group is at least version 1.4.
private void checkMainVM()
private void processReturn(Object o, String source)
o
.
o
- the object returned by the subtasksource
- the source description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |