public class RemoteServiceAdmin.ImportRegistration extends Object implements ImportRegistration
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this Import Registration.
|
ID |
getContainerID() |
Throwable |
getException()
Return the exception for any error during the import process.
|
ImportReference |
getImportReference()
Return the Import Reference for the imported service.
|
long |
getRemoteServiceId() |
String |
toString() |
boolean |
update(EndpointDescription endpoint)
Update the local service represented by this
ImportRegistration. |
public ID getContainerID()
public long getRemoteServiceId()
public ImportReference getImportReference()
ImportRegistrationgetImportReference in interface ImportRegistrationnull
if this Import Registration is closed.public void close()
ImportRegistrationnull.
This method has no effect when this registration has already been closed
or is being closed.close in interface ImportRegistrationpublic Throwable getException()
ImportRegistrationnull.
The error must be set before this Import Registration is returned.
Asynchronously occurring errors must be reported to the log.getException in interface ImportRegistrationnull if no exception occurred.public boolean update(EndpointDescription endpoint)
ImportRegistrationImportRegistration.
After this method returns the EndpointDescription returned via
ImportRegistration.getImportReference() must have been updated.update in interface ImportRegistrationendpoint - The updated endpointtrue if the endpoint was successfully updated,
false otherwise. If the update fails then the
failure can be retrieved from ImportRegistration.getException().Copyright © 2004–2020 Eclipse Foundation. All rights reserved.