org.ow2.carol.cmi.test
Class IIOPHelloServer

java.lang.Object
  extended by javax.rmi.PortableRemoteObject
      extended by org.ow2.carol.cmi.test.IIOPHelloServer
All Implemented Interfaces:
java.rmi.Remote, org.ow2.carol.cmi.jndi.ClusteredObject, TestItf

@Cluster(name="test_cluster")
@LBPolicy(value=org.ow2.carol.cmi.lb.policy.RoundRobinPolicy.class)
public class IIOPHelloServer
extends javax.rmi.PortableRemoteObject
implements TestItf, org.ow2.carol.cmi.jndi.ClusteredObject

Author:
nieuviar, The new CMI team

Nested Class Summary
protected static class IIOPHelloServer.BindHandler
           
protected static class IIOPHelloServer.DisplayRegistryHandler
           
protected static class IIOPHelloServer.DisplayReplicatedRegistryHandler
           
protected static class IIOPHelloServer.RebindHandler
           
protected static class IIOPHelloServer.UnbindHandler
           
 
Constructor Summary
IIOPHelloServer(java.lang.String string)
           
 
Method Summary
 void display()
          Displays "hello".
 org.ow2.carol.cmi.info.ClusteredObjectInfo getClusteredObjectInfo()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class javax.rmi.PortableRemoteObject
connect, exportObject, narrow, toStub, unexportObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIOPHelloServer

public IIOPHelloServer(java.lang.String string)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

display

public void display()
             throws java.rmi.RemoteException
Displays "hello".

Specified by:
display in interface TestItf
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

getClusteredObjectInfo

public org.ow2.carol.cmi.info.ClusteredObjectInfo getClusteredObjectInfo()
Specified by:
getClusteredObjectInfo in interface org.ow2.carol.cmi.jndi.ClusteredObject


Copyright © 2008 OW2 Consortium. All Rights Reserved.