T - the type parameterpublic class ConnectorProxyInvocationHandler<T> extends Object implements InvocationHandler
| Constructor and Description |
|---|
ConnectorProxyInvocationHandler()
Instantiates a new Connector proxy invocation handler.
|
ConnectorProxyInvocationHandler(SoftwareUpdateListener updateListener)
Instantiates a new Connector proxy invocation handler.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getImplClass() |
SoftwareUpdate |
getUpdateHandler() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
setImplClass(T newImplClass) |
void |
setImplClass(T newImplClass,
SoftwareUpdate newUpdateHandler)
Sets impl class.
|
public ConnectorProxyInvocationHandler()
public ConnectorProxyInvocationHandler(SoftwareUpdateListener updateListener)
updateListener - the update listenerpublic void setImplClass(T newImplClass)
public void setImplClass(T newImplClass, SoftwareUpdate newUpdateHandler)
newImplClass - the new impl classpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic T getImplClass()
public SoftwareUpdate getUpdateHandler()
Copyright © 2018. All rights reserved.