class ReferrerDecorator<T> extends AbstractReferrerDecorator<T> implements Serializable
Modifier and Type | Field and Description |
---|---|
private Referrer<T> |
reference |
private static long |
serialVersionUID |
Constructor and Description |
---|
ReferrerDecorator(Referrer<T> ref) |
Modifier and Type | Method and Description |
---|---|
Referrer<T> |
getReference() |
private void |
readObject(ObjectInputStream in) |
void |
refresh(Referrer<T> r)
This method is called after de-serialisation, to update the Referrer,
the Ref type will be governed by the ReferenceCollection, the queue will
have also been defined.
|
private void |
writeObject(ObjectOutputStream out) |
clear, enqueue, equals, get, hashCode, isEnqueued, lookDontTouch, refresh, toString
private static final long serialVersionUID
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
public void refresh(Referrer<T> r)
AbstractReferrerDecorator
refresh
in class AbstractReferrerDecorator<T>
public Referrer<T> getReference()
getReference
in class AbstractReferrerDecorator<T>
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.