|
OSGi™ Enterprise Release 5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
Method Detail |
---|
ImportReference getImportReference()
java.lang.IllegalStateException
- When this registration was not properly
initialized. See getException()
.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.
|
OSGi™ Enterprise Release 5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |