com.sun.jini.reggie
Class RegistrarImpl.LookupAttributesChangedLogObj

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

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

LogObj class whose instances are recorded to the log file whenever the attributes for the lookup service are changed.

See Also:
RegistrarImpl.LocalLogHandler

Field Summary
private  Entry[] attrs
          The new lookup service attributes.
private static long serialVersionUID
           
 
Constructor Summary
RegistrarImpl.LookupAttributesChangedLogObj(Entry[] attrs)
          Simple constructor
 
Method Summary
 void apply(RegistrarImpl regImpl)
          Modifies the state of the Registrar by setting the private field lookupAttrs to the reference to the attrs field.
private  void readObject(ObjectInputStream stream)
          Reads in null-terminated list of MarshalledInstances, from which attributes are unmarshalled.
private  void writeObject(ObjectOutputStream stream)
          Writes attributes as a null-terminated list of MarshalledInstances.
 
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

attrs

private transient Entry[] attrs
The new lookup service attributes.

Constructor Detail

RegistrarImpl.LookupAttributesChangedLogObj

public RegistrarImpl.LookupAttributesChangedLogObj(Entry[] attrs)
Simple constructor

Method Detail

apply

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

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

writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Writes attributes as a null-terminated list of MarshalledInstances.

Throws:
IOException

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Reads in null-terminated list of MarshalledInstances, from which attributes are unmarshalled.

Throws:
IOException
ClassNotFoundException


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