com.sun.jini.fiddler
Class FiddlerImpl.GroupsRemovedFromRegistrationLogObj

java.lang.Object
  extended by com.sun.jini.fiddler.FiddlerImpl.GroupsRemovedFromRegistrationLogObj
All Implemented Interfaces:
FiddlerImpl.LogRecord, Serializable
Enclosing class:
FiddlerImpl

private static class FiddlerImpl.GroupsRemovedFromRegistrationLogObj
extends Object
implements FiddlerImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever one or more elements of the managed set of groups corresponding to a registration are removed.

See Also:
FiddlerImpl.LocalLogHandler

Field Summary
private  String[] groups
          The set of groups removed from the registration's managed set of groups.
private  Uuid registrationID
          The ID of the data structure record corresponding to the registration with managed set from which groups were removed.
private static long serialVersionUID
           
 
Constructor Summary
FiddlerImpl.GroupsRemovedFromRegistrationLogObj(Uuid registrationID, String[] groups)
          Constructs this class and stores the ID and groups to remove
 
Method Summary
 void apply(FiddlerImpl fiddlerImpl)
          Modifies this service's state by removing the set of group names from registration's managed set of groups, as well as by updating the set of all groups (across all registrations) to discover.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

registrationID

private Uuid registrationID
The ID of the data structure record corresponding to the registration with managed set from which groups were removed.


groups

private String[] groups
The set of groups removed from the registration's managed set of groups.

Constructor Detail

FiddlerImpl.GroupsRemovedFromRegistrationLogObj

public FiddlerImpl.GroupsRemovedFromRegistrationLogObj(Uuid registrationID,
                                                       String[] groups)
Constructs this class and stores the ID and groups to remove

Method Detail

apply

public void apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by removing the set of group names from registration's managed set of groups, as well as by updating the set of all groups (across all registrations) to discover. Note that the removal of one or more group names from a registration's set of groups typically involves the modification of the managed sets in the discovery manager, which usually involves starting the discovery protocol. Since an IOException can occur when the discovery protocol fails to start, and since such a situation is un-recoverable, this method does the following: catches the exception, informs this service's administrator by displaying the stack trace, and exits.

Specified by:
apply in interface FiddlerImpl.LogRecord
See Also:
FiddlerImpl.LocalLogHandler.applyUpdate(java.lang.Object)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.