|
OSGi™ Enterprise Release 5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExportRegistration
An Export Registration associates a service to a local endpoint.
The Export Registration can be used to delete the endpoint associated with an
this registration. It is created with the
RemoteServiceAdmin.exportService(ServiceReference,Map)
method.
When this Export Registration has been closed, all methods must return
null
.
Method Summary | |
---|---|
void |
close()
Delete the local endpoint and disconnect any remote distribution providers. |
java.lang.Throwable |
getException()
Return the exception for any error during the export process. |
ExportReference |
getExportReference()
Return the Export Reference for the exported service. |
Method Detail |
---|
ExportReference getExportReference()
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 Export 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 |