|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.ImportRegistration
public class RemoteServiceAdmin.ImportRegistration
Method Summary | |
---|---|
void |
close()
Close this Import Registration. |
ID |
getContainerID()
|
java.lang.Throwable |
getException()
Return the exception for any error during the import process. |
ImportReference |
getImportReference()
Return the Import Reference for the imported service. |
long |
getRemoteServiceId()
|
java.lang.String |
toString()
|
boolean |
update(EndpointDescription endpoint)
Update the local service represented by this ImportRegistration . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public ID getContainerID()
public long getRemoteServiceId()
public ImportReference getImportReference()
ImportRegistration
getImportReference
in interface ImportRegistration
null
if this Import Registration is closed.public void close()
ImportRegistration
null
.
This method has no effect when this registration has already been closed
or is being closed.
close
in interface ImportRegistration
public java.lang.Throwable getException()
ImportRegistration
null
.
The error must be set before this Import Registration is returned.
Asynchronously occurring errors must be reported to the log.
getException
in interface ImportRegistration
null
if no exception occurred.public boolean update(EndpointDescription endpoint)
ImportRegistration
ImportRegistration
.
After this method returns the EndpointDescription
returned via
ImportRegistration.getImportReference()
must have been updated.
update
in interface ImportRegistration
endpoint
- The updated endpoint
true
if the endpoint was successfully updated,
false
otherwise. If the update fails then the
failure can be retrieved from ImportRegistration.getException()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |