org.sapia.ubik.rmi.examples
Class HelloWorldCommand

java.lang.Object
  extended by org.sapia.ubik.rmi.server.command.Command
      extended by org.sapia.ubik.rmi.server.RMICommand
          extended by org.sapia.ubik.rmi.examples.HelloWorldCommand
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, Executable

public class HelloWorldCommand
extends RMICommand

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sapia.ubik.rmi.server.RMICommand
_config, _vmId
 
Constructor Summary
HelloWorldCommand()
           
 
Method Summary
 java.lang.Object execute()
          Executes this command.
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.sapia.ubik.rmi.server.RMICommand
getConnection, getServerAddress, getVmId, init, readExternal, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorldCommand

public HelloWorldCommand()
Method Detail

execute

public java.lang.Object execute()
                         throws java.lang.Throwable
Description copied from class: RMICommand
Executes this command.

Specified by:
execute in interface Executable
Specified by:
execute in class RMICommand
Returns:
any value returned by this method.
Throws:
java.lang.Throwable - if an error occurs while executing this command
See Also:
RMICommand.execute()

main

public static void main(java.lang.String[] args)


Copyright © 2010 Sapia OSS. All Rights Reserved.