com.sun.enterprise.ee.cms.tests
Class ApplicationServer

java.lang.Object
  extended by com.sun.enterprise.ee.cms.tests.ApplicationServer
All Implemented Interfaces:
Runnable

public class ApplicationServer
extends Object
implements Runnable

This is an example used to demonstrate the application layer that controls the lifecycle of the GMS module. It also provides an example of the actions taken in response to a recover call from the GMS layer.

Version:
$Revision: 1.14 $
Author:
Shreedhar Ganapathy"

Nested Class Summary
 class ApplicationServer.CLB
           
 
Constructor Summary
ApplicationServer(String serverName, String groupName, GroupManagementService.MemberType memberType, Properties props)
           
 
Method Summary
static void main(String[] args)
           
 void run()
           
 void sendMessage(String message)
           
 void startClientServices()
           
 void startGMS()
           
 void stopGMS()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationServer

public ApplicationServer(String serverName,
                         String groupName,
                         GroupManagementService.MemberType memberType,
                         Properties props)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

startClientServices

public void startClientServices()

startGMS

public void startGMS()

stopGMS

public void stopGMS()

sendMessage

public void sendMessage(String message)

main

public static void main(String[] args)


Copyright © 2003 Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.