com.sun.jini.reggie
Class RegistrarImpl.MemberGroupsChangedLogObj

java.lang.Object
  extended by com.sun.jini.reggie.RegistrarImpl.MemberGroupsChangedLogObj
All Implemented Interfaces:
RegistrarImpl.LogRecord, Serializable
Enclosing class:
RegistrarImpl

private static class RegistrarImpl.MemberGroupsChangedLogObj
extends Object
implements RegistrarImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever the memberGroups array is set to reference a new array of strings.

See Also:
RegistrarImpl.LocalLogHandler

Field Summary
private  String[] groups
          The new groups to be a member of.
private static long serialVersionUID
           
 
Constructor Summary
RegistrarImpl.MemberGroupsChangedLogObj(String[] groups)
          Simple constructor
 
Method Summary
 void apply(RegistrarImpl regImpl)
          Modifies the state of the Registrar by setting the private memberGroups field to the reference to the groups field.
 
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

groups

private String[] groups
The new groups to be a member of.

Constructor Detail

RegistrarImpl.MemberGroupsChangedLogObj

public RegistrarImpl.MemberGroupsChangedLogObj(String[] groups)
Simple constructor

Method Detail

apply

public void apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by setting the private memberGroups field to the reference to the groups field.

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


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