WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.rmi_iiop.hello
Class HelloImpl

java.lang.Object
  |
  +--examples.rmi_iiop.hello.HelloImpl
All Implemented Interfaces:
HelloWorld, java.rmi.Remote

public class HelloImpl
extends java.lang.Object
implements HelloWorld

Implements the HelloWorld interface.

Author:
Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.

Constructor Summary
HelloImpl()
           
 
Method Summary
static void main(java.lang.String[] args)
          Binds this class to the JNDI tree under the name "HelloServer".
 void sayHello()
          Prints "Hello World" to the Server's command shell.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloImpl

public HelloImpl()
          throws java.rmi.RemoteException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Binds this class to the JNDI tree under the name "HelloServer".

sayHello

public void sayHello()
              throws java.rmi.RemoteException
Prints "Hello World" to the Server's command shell.
Specified by:
sayHello in interface HelloWorld

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.