| Modifier and Type | Field and Description |
|---|---|
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | checkProxyClass(Class<?>
the class to be checked. proxyClass)Implements org. |
| public void | execute()
Overrides org. |
| public synchronized Object | |
| private synchronized void | |
| private synchronized void | |
| public void | setProxy(Object
The target object. Must not be o)null.Implements org. |
| id | back to summary |
|---|---|
| private String id | |
| AugmentReference | back to summary |
|---|---|
| public AugmentReference() | |
| checkProxyClass | back to summary |
|---|---|
| public void checkProxyClass(Class<?> proxyClass) Implements org. Doc from org. Check if the proxy class is compatible with this adapter - i.e. the adapter will be able to adapt instances of the give class.
| |
| execute | back to summary |
|---|---|
| public void execute() Overrides org. Overridden to restore the wrapper once it is no longer needed.
| |
| getProxy | back to summary |
|---|---|
| public synchronized Object getProxy() Implements org. Doc from org. Returns the proxy object.
| |
| hijackId | back to summary |
|---|---|
| private synchronized void hijackId() | |
| restoreWrapperId | back to summary |
|---|---|
| private synchronized void restoreWrapperId() Needed if two different targets reuse the same instance. | |
| setProxy | back to summary |
|---|---|
| public void setProxy(Object o) Implements org. Doc from org. Sets the proxy object, whose methods are going to be invoked by ant. A proxy object is normally the object defined by a <typedef/> task that is adapted by the "adapter" attribute.
| |