/** * Register a property provider. * Settings of registered property providers will be automatically saved * and restored, when properties are loaded. * @param id A unique id to identify the properties (e.g. component or service name). * @param provider The properties provider. * @return A future indicating when registration is finished. */ public IFuture<Void> registerPropertiesProvider(String id, @Reference IPropertiesProvider provider);
/** * Test if return value is local reference. */ public static boolean isReturnValueLocalReference(Method method, boolean refdef) { boolean ret = refdef; Reference ref = (Reference)method.getAnnotation(Reference.class); if(ref!=null) ret = ref.local(); return ret; }
/** * Get the copy info for method parameters. */ public static boolean isReturnValueRemoteReference(Method method, boolean refdef) { boolean ret = refdef; Reference ref = (Reference)method.getAnnotation(Reference.class); if(ref!=null) ret = ref.remote(); return ret; }
/** * Sets the access for the component. * @param access Component access. */ public IFuture<Void> setComponentAccess(@Reference IInternalAccess access);
/** * Get the copy info for method parameters. */ public static boolean isReturnValueRemoteReference(Method method, boolean refdef) { boolean ret = refdef; Reference ref = (Reference)method.getAnnotation(Reference.class); if(ref!=null) ret = ref.remote(); return ret; }
/** * Test if return value is local reference. */ public static boolean isReturnValueLocalReference(Method method, boolean refdef) { boolean ret = refdef; Reference ref = (Reference)method.getAnnotation(Reference.class); if(ref!=null) ret = ref.local(); return ret; }
/** * Register a property provider. * Settings of registered property providers will be automatically saved * and restored, when properties are loaded. * @param id A unique id to identify the properties (e.g. component or service name). * @param provider The properties provider. * @return A future indicating when registration is finished. */ public IFuture<Void> registerPropertiesProvider(String id, @Reference IPropertiesProvider provider);
isref = ref!=null && ref.remote();
final boolean copy = DecouplingInterceptor.this.copy && !sic.isRemoteCall() && !marshal.isRemoteObject(sic.getProxy()) && (ref!=null? !ref.local(): true); final IFilter deffilter = new IFilter()
/** * Test if result value can be passed by copy. */ public IIntermediateFuture<Object> testResultCopies(@Reference Object[] args); }
isref = ref!=null && ref.remote();
final boolean copy = DecouplingInterceptor.this.copy && !sic.isRemoteCall() && !marshal.isRemoteObject(sic.getProxy()) && (ref!=null? !ref.local(): true); final IFilter deffilter = new IFilter()
/** * */ public IFuture<Void> announceNewTarget(@Reference ISpaceObject target); }
isref = ref!=null && ref.remote();
/** * */ public IFuture<Void> doCarry(@Reference ISpaceObject target); }