abstract class AbstractReferenceProxyLatch
extends org.apache.avalon.framework.logger.AbstractLogEnabled
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
m_name
Deprecated.
Name of the latch
|
private boolean |
m_triggerRequested
Deprecated.
Flag that keeps track of when the trigger is requested.
|
private int |
m_waitingProxies
Deprecated.
Number of registered proxies which have not yet been finalized.
|
| Constructor and Description |
|---|
AbstractReferenceProxyLatch()
Deprecated.
Create a new ReferenceProxyLatch.
|
| Modifier and Type | Method and Description |
|---|---|
ReferenceProxy |
createProxy(java.lang.Object object,
java.lang.String name)
Deprecated.
|
(package private) void |
notifyFinalized(AbstractReferenceProxy proxy)
Deprecated.
Called by a proxy when it is finalized.
|
void |
requestTrigger()
Deprecated.
Request that the triggered() method be called by asking all of the proxies
managed by the latch to notify that they are no longer accepting requests
to reference their internal objects.
|
abstract void |
triggered()
Deprecated.
Called when all of the proxies have notified that they are done.
|
private java.lang.String m_name
private int m_waitingProxies
private boolean m_triggerRequested
public AbstractReferenceProxyLatch()
public ReferenceProxy createProxy(java.lang.Object object, java.lang.String name)
object - Object to be protected.name - Name of the object.public void requestTrigger()
void notifyFinalized(AbstractReferenceProxy proxy)
proxy - The AbstractRefernceProxy that is ready.public abstract void triggered()
throws java.lang.Exception
java.lang.Exception