java.rmi.activation

Class ActivationGroupDesc.CommandEnvironment

public static class ActivationGroupDesc.CommandEnvironment extends Object implements Serializable

Contains the startup options for the {@link ActivationGroup} implementations. Allows to override system properties and specify other options for the implementation groups.
Constructor Summary
CommandEnvironment(String commandPatch, String[] args)
Create the new command environment.
Method Summary
booleanequals(Object obj)
Compare for content equality.
String[]getCommandOptions()
Get the additional command options.
StringgetCommandPath()
Get the path to the java executable.
inthashCode()
Get the hash code.

Constructor Detail

CommandEnvironment

public CommandEnvironment(String commandPatch, String[] args)
Create the new command environment.

Parameters: commandPatch the full path (and name) to the java executable of null for using the default executable. args extra options that will be used when creating the activation group. Null has the same effect as the empty list.

Method Detail

equals

public boolean equals(Object obj)
Compare for content equality.

getCommandOptions

public String[] getCommandOptions()
Get the additional command options.

Returns: the command options array, may be empty string

getCommandPath

public String getCommandPath()
Get the path to the java executable.

Returns: the path to the java executable or null for using the default jre.

hashCode

public int hashCode()
Get the hash code.