/** * 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);
/** * Sets the access for the component. * @param access Component access. */ public IFuture<Void> setComponentAccess(@Reference IInternalAccess access);
/** * 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 result value can be passed by copy. */ public IIntermediateFuture<Object> testResultCopies(@Reference Object[] args); }
/** * */ public IFuture<Void> announceNewTarget(@Reference ISpaceObject target); }
/** * */ public IFuture<Void> doCarry(@Reference ISpaceObject target); }
/** * Sets the access for the component. * @param access Component access. */ public IFuture<Void> setComponentAccess(@Reference IInternalAccess access);
/** * Announce an awareness info. * @param info The info (passed as local reference). * @return True, if was a new awareness info. */ public IFuture<Boolean> addAwarenessInfo(@Reference(local=true, remote=false) AwarenessInfo info);
/** * Get a space. */ public @Reference(remote=false) IFuture<Object> getSpace(String name); }
/** * */ public IFuture<Void> announceNewTarget(@Reference ISpaceObject target); }
/** * Message service listener interface. */ @Reference public interface IRemoteMessageListener extends IMessageListener//, IRemotable { }
/** * Message service listener interface. */ @Reference public interface IRemoteMessageListener extends IMessageListener//, IRemotable { }
/** * Get direct access to the map of the addresses. * @return The map. */ public @Reference(local=true, remote=false) IFuture<TransportAddressBook> getTransportAddresses(); }
/** * Remove a clone processor. */ @Excluded public void removeCloneProcessor(@Reference ITraverseProcessor proc);
/** * Returns a File * @param name File name * @return {@link File} */ @Excluded public @Reference(local=true) IFuture<File> getFile(String name);
/** * Returns the classloader for a resource identifier. * @param rid The resource identifier. * @param workspace True if workspace resolution is ok. * @return The classloader. */ @Excluded public @Reference IFuture<ClassLoader> getClassLoader(IResourceIdentifier rid, boolean workspace);
/** * Returns the classloader for a resource identifier. * @param rid The resource identifier. * @param workspace True if workspace resolution is ok. * @return The classloader. */ @Excluded public @Reference IFuture<ClassLoader> getClassLoader(IResourceIdentifier rid, boolean workspace);
/** * Returns the current ClassLoader. * @return the current ClassLoader */ @Excluded public @Reference IFuture<ClassLoader> getClassLoader(IResourceIdentifier rid) { return getClassLoader(rid, true); }
/** * Returns the current ClassLoader. * @return the current ClassLoader */ @Excluded public @Reference IFuture<ClassLoader> getClassLoader(IResourceIdentifier rid) { return getClassLoader(rid, true); }
/** * */ public IFuture<Void> doCarry(@Reference ISpaceObject target) { agent.getComponentFeature(IBDIAgentFeature.class).dispatchTopLevelGoal(new CarryOre(target)); return IFuture.DONE; } }