java.rmi.activation

Class ActivationGroupDesc. CommandEnvironment

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    ActivationGroupDesc

    public static class ActivationGroupDesc.CommandEnvironment
    extends Object
    implements Serializable
    Startup options for ActivationGroup implementations. This class allows overriding default system properties and specifying implementation-defined options for ActivationGroups.
    Since:
    1.2
    See Also:
    Serialized Form
    • Constructor Detail

      • ActivationGroupDesc.CommandEnvironment

        public ActivationGroupDesc.CommandEnvironment(String cmdpath,
                                              String[] argv)
        Create a CommandEnvironment with all the necessary information.
        Parameters:
        cmdpath - the name of the java executable, including the full path, or null, meaning "use rmid's default". The named program must be able to accept multiple -Dpropname=value options (as documented for the "java" tool)
        argv - extra options which will be used in creating the ActivationGroup. Null has the same effect as an empty list.
        Since:
        1.2
    • Method Detail

      • getCommandPath

        public String getCommandPath()
        Fetch the configured path-qualified java command name.
        Returns:
        the configured name, or null if configured to accept the default
        Since:
        1.2
      • getCommandOptions

        public String[] getCommandOptions()
        Fetch the configured java command options.
        Returns:
        An array of the command options which will be passed to the new child command by rmid. Note that rmid may add other options before or after these options, or both. Never returns null.
        Since:
        1.2
      • equals

        public boolean equals(Object obj)
        Compares two command environments for content equality.
        Overrides:
        equals in class Object
        Parameters:
        obj - the Object to compare with
        Returns:
        true if these Objects are equal; false otherwise.
        Since:
        1.2
        See Also:
        Hashtable
      • hashCode

        public int hashCode()
        Return identical values for similar CommandEnvironments.
        Overrides:
        hashCode in class Object
        Returns:
        an integer
        See Also:
        Hashtable

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/rmi/activation/ActivationGroupDesc.CommandEnvironment.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut