com.sun.jini.reggie
Class RegistrarImpl.AttrsModifiedLogObj

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

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

LogObj class whose instances are recorded to the log file whenever existing attributes of an existing service in the Registrar are modified.

See Also:
RegistrarImpl.LocalLogHandler

Field Summary
private  EntryRep[] attrSets
          The new attributes.
private  EntryRep[] attrSetTmpls
          The templates to match.
private  Uuid leaseID
          The lease id.
private static long serialVersionUID
           
private  ServiceID serviceID
          The service id.
 
Constructor Summary
RegistrarImpl.AttrsModifiedLogObj(ServiceID serviceID, Uuid leaseID, EntryRep[] attrSetTmpls, EntryRep[] attrSets)
          Simple constructor
 
Method Summary
 void apply(RegistrarImpl regImpl)
          Modifies the state of the Registrar by modifying the attributes of the services that match the template with the attributes stored in attributeSets.
 
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

serviceID

private ServiceID serviceID
The service id.


leaseID

private Uuid leaseID
The lease id.


attrSetTmpls

private EntryRep[] attrSetTmpls
The templates to match.


attrSets

private EntryRep[] attrSets
The new attributes.

Constructor Detail

RegistrarImpl.AttrsModifiedLogObj

public RegistrarImpl.AttrsModifiedLogObj(ServiceID serviceID,
                                         Uuid leaseID,
                                         EntryRep[] attrSetTmpls,
                                         EntryRep[] attrSets)
Simple constructor

Method Detail

apply

public void apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by modifying the attributes of the services that match the template with the attributes stored in attributeSets.

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.