|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType public interface ImportRegistration
An Import Registration associates an active proxy service to a remote
endpoint.
The Import Registration can be used to delete the proxy associated with an
endpoint. It is created with the
RemoteServiceAdmin.importService(EndpointDescription)
method.
When this Import Registration has been closed, all methods must return
null
.
Method Summary | |
---|---|
void |
close()
Close this Import Registration. |
java.lang.Throwable |
getException()
Return the exception for any error during the import process. |
ImportReference |
getImportReference()
Return the Import Reference for the imported service. |
boolean |
update(EndpointDescription endpoint)
Update the local service represented by this ImportRegistration . |
Method Detail |
---|
ImportReference getImportReference()
null
if this Import Registration is closed.
java.lang.IllegalStateException
- When this registration was not properly
initialized. See getException()
.boolean update(EndpointDescription endpoint)
ImportRegistration
.
After this method returns the EndpointDescription
returned via
getImportReference()
must have been updated.
endpoint
- The updated endpoint
true
if the endpoint was successfully updated,
false
otherwise. If the update fails then the
failure can be retrieved from getException()
.
java.lang.IllegalStateException
- When this registration is closed, or if it
was not properly initialized. See getException()
.
java.lang.IllegalArgumentException
- When the supplied
EndpointDescription
does not represent the same endpoint
as this ImportRegistration
.void close()
null
.
This method has no effect when this registration has already been closed
or is being closed.
java.lang.Throwable getException()
null
.
The error must be set before this Import Registration is returned.
Asynchronously occurring errors must be reported to the log.
null
if no exception occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |