com.sun.jini.fiddler
Class FiddlerImpl.LookupAttrsModifiedLogObj

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

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

LogObj class whose instances are recorded to the log file whenever the attributes currently associated with this service in the lookup services with which it is registered are modified.

See Also:
FiddlerImpl.LocalLogHandler

Field Summary
private  MarshalledObject[] marshalledAttrTmpls
          The attribute set templates used to select the attributes (from the service's existing set of attributes) that were modified, written out in marshalled form.
private  MarshalledObject[] marshalledModAttrs
          The attributes with which this service's existing attributes were modified, written out in marshalled form.
private static long serialVersionUID
           
 
Constructor Summary
FiddlerImpl.LookupAttrsModifiedLogObj(FiddlerImpl fiddlerImpl, Entry[] attrTmpls, Entry[] modAttrs)
          Constructs this class and stores the modified attributes
 
Method Summary
 void apply(FiddlerImpl fiddlerImpl)
          Modifies this service's state by modifying (after unmarshalling) the service's existing attributes according to the contents of marshalledAttrTmpls and marshalledModAttrs.
 
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

marshalledAttrTmpls

private MarshalledObject[] marshalledAttrTmpls
The attribute set templates used to select the attributes (from the service's existing set of attributes) that were modified, written out in marshalled form.


marshalledModAttrs

private MarshalledObject[] marshalledModAttrs
The attributes with which this service's existing attributes were modified, written out in marshalled form.

Constructor Detail

FiddlerImpl.LookupAttrsModifiedLogObj

public FiddlerImpl.LookupAttrsModifiedLogObj(FiddlerImpl fiddlerImpl,
                                             Entry[] attrTmpls,
                                             Entry[] modAttrs)
Constructs this class and stores the modified attributes

Method Detail

apply

public void apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by modifying (after unmarshalling) the service's existing attributes according to the contents of marshalledAttrTmpls and marshalledModAttrs.

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.