Class RMIRegistryJob

All Implemented Interfaces:
Runnable, ArooaContextAware, ArooaSessionAware, Forceable, PropertyChangeNotifier, Iconic, LogEnabled, Resettable, Stateful

public class RMIRegistryJob extends SimpleJob
Author:
Rob Gordon

Description

A job which creates an RMI registry.
  • Field Details

  • Constructor Details

    • RMIRegistryJob

      public RMIRegistryJob()
  • Method Details

    • setPort

      public void setPort(int port)
      Set the port number to use.
      Parameters:
      port - The port number.
    • getPort

      public int getPort()
      Get the port number.
      Returns:
      The port number.
    • execute

      public int execute() throws Exception
      Description copied from class: SimpleJob
      Execute this job.
      Specified by:
      execute in class SimpleJob
      Returns:
      0 if the job is complete, anything else otherwise.
      Throws:
      Exception - If the unexpected occurs.