com.sun.enterprise.ee.cms.tests
Class ApplicationServer
java.lang.Object
com.sun.enterprise.ee.cms.tests.ApplicationServer
- All Implemented Interfaces:
- CallBack, Runnable
public class ApplicationServer
- extends Object
- implements Runnable, CallBack
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.19 $
- Author:
- Shreedhar Ganapathy"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gms
public GroupManagementService gms
ApplicationServer
public ApplicationServer(String serverName,
String groupName,
GroupManagementService.MemberType memberType,
Properties props)
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)
processNotification
public void processNotification(Signal notification)
- Specified by:
processNotification
in interface CallBack
main
public static void main(String[] args)
Copyright © 2003 Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.