org.universAAL.middleware.api.impl
Class DynamicServiceProxy

Package class diagram package DynamicServiceProxy
java.lang.Object
  extended by org.universAAL.middleware.api.impl.DynamicServiceProxy
All Implemented Interfaces:
InvocationHandler

public class DynamicServiceProxy
extends Object
implements InvocationHandler


Constructor Summary
DynamicServiceProxy(ServiceCaller caller, Class<?> intefaceClazz)
           
 
Method Summary
 Object invoke(Object proxy, Method m, Object[] args)
           
static Object newInstance(Class<?> interfaceClazz, ServiceCaller caller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicServiceProxy

public DynamicServiceProxy(ServiceCaller caller,
                           Class<?> intefaceClazz)
                    throws SimplifiedRegistrationException,
                           InstantiationException,
                           IllegalAccessException
Throws:
SimplifiedRegistrationException
InstantiationException
IllegalAccessException
Method Detail

invoke

public Object invoke(Object proxy,
                     Method m,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

newInstance

public static Object newInstance(Class<?> interfaceClazz,
                                 ServiceCaller caller)
                          throws IllegalArgumentException,
                                 SimplifiedRegistrationException,
                                 InstantiationException,
                                 IllegalAccessException
Throws:
IllegalArgumentException
SimplifiedRegistrationException
InstantiationException
IllegalAccessException


Copyright © 2014 universAAL Consortium. All Rights Reserved.