com.sun.jini.mercury
Class MailboxImpl.AttrsModifiedLogObj

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

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

LogObj class whose instances are recorded to the log file whenever the set of lookup attributes is modified.


Field Summary
private  MarshalledObject[] marshalledAttrTmpls
          The set of attribute 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
MailboxImpl.AttrsModifiedLogObj(Entry[] attrTmpls, Entry[] modAttrs)
          Constructs this class and stores the modified attributes along with the corresponding set of templates.
 
Method Summary
 void apply(MailboxImpl mb)
          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 set of attribute 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

MailboxImpl.AttrsModifiedLogObj

public MailboxImpl.AttrsModifiedLogObj(Entry[] attrTmpls,
                                       Entry[] modAttrs)
Constructs this class and stores the modified attributes along with the corresponding set of templates.

Method Detail

apply

public void apply(MailboxImpl mb)
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 MailboxImpl.LogRecord
See Also:
MailboxImpl.LocalLogHandler.applyUpdate(java.lang.Object)


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