com.sun.enterprise.ee.cms.tests
Class GMSClientService
java.lang.Object
com.sun.enterprise.ee.cms.tests.GMSClientService
- All Implemented Interfaces:
- CallBack, Runnable
public class GMSClientService
- extends Object
- implements Runnable, CallBack
This is a mock object that exists to demonstrate a GMS client.
This client is started by the mock ApplicationServer object which results in
this client retrieving an instance of GroupManagementService in order to
register action factories for its notification purposes.
It is assumed that this client module has already implemented the relevant
Action and ActionFactory pair for the particular notification requirements.
For Example, if this client requires Failure Notifications, it should
implement FailureNotificationActionFactory and FailureNotificationAction
and register the FailureNotificationActionFactory.
- Version:
- $Revision: 1.11 $
- Author:
- Shreedhar Ganapathy
Date: Mar 1, 2005
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IIOP_MEMBER_DETAILS_KEY
public static final String IIOP_MEMBER_DETAILS_KEY
- See Also:
- Constant Field Values
GMSClientService
public GMSClientService(String serviceName,
String memberToken,
boolean sendMessages)
start
public void start()
run
public void run()
- Specified by:
run
in interface Runnable
processNotification
public void processNotification(Signal notification)
- Specified by:
processNotification
in interface CallBack
stopClient
public void stopClient()
Copyright © 2003 Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.