org.sapia.ubik.rmi.examples
Class StatelessFoo

java.lang.Object
  extended by org.sapia.ubik.rmi.examples.StatelessFoo
All Implemented Interfaces:
java.rmi.Remote, Foo, ServiceDiscoListener, Stateless

public class StatelessFoo
extends java.lang.Object
implements Foo, Stateless, ServiceDiscoListener

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

Constructor Summary
StatelessFoo()
           
 
Method Summary
 Bar getBar()
           
static void main(java.lang.String[] args)
           
 void onServiceDiscovered(ServiceDiscoveryEvent evt)
          Called when a new service is bound to the distributed JNDI tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatelessFoo

public StatelessFoo()
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getBar

public Bar getBar()
           throws java.rmi.RemoteException
Specified by:
getBar in interface Foo
Throws:
java.rmi.RemoteException
See Also:
org.sapia.ubik.rmi.Foo#getBar()

onServiceDiscovered

public void onServiceDiscovered(ServiceDiscoveryEvent evt)
Description copied from interface: ServiceDiscoListener
Called when a new service is bound to the distributed JNDI tree.

Specified by:
onServiceDiscovered in interface ServiceDiscoListener
Parameters:
evt - a ServiceDiscoveryEvent.
See Also:
ServiceDiscoListener.onServiceDiscovered(ServiceDiscoveryEvent)

main

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


Copyright © 2010 Sapia OSS. All Rights Reserved.