@ProviderType public interface ImportRegistration
RemoteServiceAdmin.importService(EndpointDescription)method. When this Import Registration has been closed, all methods must return
|Modifier and Type||Method and Description|
Close this Import Registration.
Return the exception for any error during the import process.
Return the Import Reference for the imported service.
Update the local service represented by this
nullif this Import Registration is closed.
java.lang.IllegalStateException- When this registration was not properly initialized. See
boolean update(EndpointDescription endpoint)
ImportRegistration. After this method returns the
getImportReference()must have been updated.
endpoint- The updated endpoint
trueif the endpoint was successfully updated,
falseotherwise. If the update fails then the failure can be retrieved from
java.lang.IllegalStateException- When this registration is closed, or if it was not properly initialized. See
java.lang.IllegalArgumentException- When the supplied
EndpointDescriptiondoes not represent the same endpoint as this
null. This method has no effect when this registration has already been closed or is being closed.
null. The error must be set before this Import Registration is returned. Asynchronously occurring errors must be reported to the log.
nullif no exception occurred.
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0