org.objectweb.proactive.ext.security.test
Class Flower
java.lang.Object
org.objectweb.proactive.ext.security.test.Flower
- All Implemented Interfaces:
- Secure, java.io.Serializable
- public class Flower
- extends java.lang.Object
- implements java.io.Serializable, Secure
Simple example that creates flower objects in different nodes
(virtual machines) and passes remote references between them. When
one flower object receives a reference of another flower it
displays its name and the name of the remote reference.
- Since:
- ProActive 0.9
- Version:
- 1.0, 2001/10/23
- Author:
- ProActive Team
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Flower
public Flower()
Flower
public Flower(java.lang.String name)
getName
public java.lang.String getName()
acceptReference
public void acceptReference(Flower f)
bob
public int bob()
migrateTo
public void migrateTo(Node node)
throws MigrationException
- Throws:
MigrationException
main
public static void main(java.lang.String[] args)
receiveRequest
public SecurityContext receiveRequest(SecurityContext sc)
- Specified by:
receiveRequest
in interface Secure
execute
public SecurityContext execute(SecurityContext sc)
- Specified by:
execute
in interface Secure
Copyright ? April 2005 INRIA All Rights Reserved.