Object function ( Class < ? > [ ] arg0 , String arg1 , ClassLoader arg2 , BundleContext arg3 , Object arg4 ) { String loc0 = OsgiFilterUtils . unifyFilter ( arg0 , arg1 ) ; return Proxy . newProxyInstance ( arg2 , arg0 , new OsgiServiceHandler ( arg4 , arg3 , ClassUtils . getParticularClass ( arg0 ) . getName ( ) , loc0 ) ) ; }
returns a proxy that on each call seeks the relevant osgi service and delegates the method invocation to it . in case no service is found , the fallback object is used . since jdk proxies are used to create services only interfaces are used . concode_field_sep Object fallbackObject concode_elem_sep String filter concode_elem_sep BundleContext context concode_elem_sep String filterClassName concode_elem_sep boolean bundleContextInvalidated concode_elem_sep boolean securityOn concode_field_sep Object getTarget concode_elem_sep Object invoke