RemoteServiceAdmin#exportService(ServiceReference, Map) method.
When this Export Registration has been closed, all methods must return
null.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Throwable | Returns: The exception that occurred during the initialization of this registration ornull if no exception occurred.Return the exception for any error during the export process. |
| public ExportReference | Returns: The Export Reference for this registration, ornull
if this Import Registration is closed.Return the Export Reference for the exported service. |
| public EndpointDescription | Returns: The updatedEndpointDescription for this registration or
null if there was a failure updating the endpoint. If a failure
occurs then it can be accessed using getException().properties to be merged with the current service
properties for the properties)ServiceReference represented by this
ExportRegistration. If null is passed then the original
properties passed to
RemoteServiceAdmin#exportService(ServiceReference, Map)
will be used.Update the endpoint represented by this |
| close | back to summary |
|---|---|
| public void close() Delete the local endpoint and disconnect any remote distribution
providers. After this method returns, all methods must return
| |
| getException | back to summary |
|---|---|
| public Throwable getException() Return the exception for any error during the export process.
If the Remote Service Admin for some reasons is unable to properly
initialize this registration, then it must return an exception from this
method. If no error occurred, this method must return
| |
| getExportReference | back to summary |
|---|---|
| public ExportReference getExportReference() Return the Export Reference for the exported service.
| |
| update | back to summary |
|---|---|
| public EndpointDescription update(Map<String, ?> properties) Update the endpoint represented by this
| |