org.universAAL.itests
Class IntegrationTest.FakeBundleContext

Package class diagram package IntegrationTest.FakeBundleContext
java.lang.Object
  extended by org.universAAL.itests.IntegrationTest.FakeBundleContext
All Implemented Interfaces:
InvocationHandler
Enclosing class:
IntegrationTest

public class IntegrationTest.FakeBundleContext
extends Object
implements InvocationHandler

The class is used for intercepting installation of test bundle. When interception occurs JunitTestActivator is created (using ClassLoader of itests bundle) and it's start method is invoked.

Author:
rotgier

Constructor Summary
IntegrationTest.FakeBundleContext(org.osgi.framework.BundleContext bc)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrationTest.FakeBundleContext

public IntegrationTest.FakeBundleContext(org.osgi.framework.BundleContext bc)
Method Detail

invoke

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


Copyright © 2014 universAAL Consortium. All Rights Reserved.