java.lang.Object | |
↳ | com.atlassian.jira.util.DuckTypeProxyFactory |
Use this Factory to produce "Duck Type" proxies of a given interface with a delegate object that "implements" a subset of the interface methods.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Proxy instance for the given interface.
| |||||||||||
Creates a new Proxy instance for the given interface.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Creates a new Proxy instance for the given interface.
If any methods are called on the interface that are not defined in the delegate, then it will return null.
proxyInterface | the interface to create a proxy for. |
---|---|
delegate | the object to delegate to for implementations (quacks like a duck) |
Creates a new Proxy instance for the given interface.
If any methods are called on the interface that are not defined in the delegate, then it will throw UnsupportedOperationException.
proxyInterface | the interface to create a proxy for. |
---|---|
delegate | the object to delegate to for implementations (quacks like a duck) |