X
- the type of the proxied objectpublic class Delegate<X> extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
Delegate.ReferentProxy<Y>
This interface provides access via the proxy handler to the original
object being proxied.
|
Constructor and Description |
---|
Delegate(X obj)
Set the initial delegated object.
|
Modifier and Type | Method and Description |
---|---|
X |
getProxy()
Instantiates and returns a proxy object which subclasses the
delegated object.
|
void |
setObject(X obj)
Change the delegated object.
|
public Delegate(X obj)
obj
- delegated objectpublic void setObject(X obj)
obj
- delegated objectpublic X getProxy()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.