Package org.springframework.osgi.internal.service.interceptor

Examples of org.springframework.osgi.internal.service.interceptor.MockMethodInvocation


  protected void setUp() throws Exception {
    Method m = ReflectionUtils.findMethod(Object.class, "hashCode");
    context = new MockBundleContext();
    interceptor = new LocalBundleContextAdvice(context);
   
    invocation = new MockMethodInvocation(m) {
      public Object proceed() throws Throwable {
        assertSame("bundle context not set", context, LocalBundleContext.getInvokerBundleContext());
        return null;
      }
    };
View Full Code Here

TOP

Related Classes of org.springframework.osgi.internal.service.interceptor.MockMethodInvocation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.