|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataConnection
A handle to a connection for use in metadata discovery functions. This connection is not for use in any runtime capacity. Instances of this interface must be obtained from a call to OutboundConnectionType.openMetadataConnection() method.
OutboundConnectionType.openMetadataConnection(OutboundConnectionConfiguration)
Method Summary | |
---|---|
void |
close()
Close this metadata connection. |
OutboundConnectionConfiguration |
getConnectionCofiguration()
Get configuration properties used to create and initialize the metadata connection. |
OutboundConnectionType |
getConnectionType()
Outbound ConnectionType that was used to create and open Metadata Connection. |
void |
setToolContext(ToolContext context)
Sets the tool context to be used by the EMD service provider when executing. |
Method Detail |
---|
OutboundConnectionConfiguration getConnectionCofiguration()
null
.OutboundConnectionType getConnectionType()
null
.void close() throws MetadataException
MetadataException
- if an error occured during executionvoid setToolContext(ToolContext context)
Tool environments are free to switch the applicable contexts as necessary. For example, a tool may perform the navigation of the MetadataTree in a UI Wizard, but do the creation of the ServiceDescription in a background process. In order to support this the tool must be able to switch the tool context appropriately so that the EMD service provider reports progress to the proper location.
EMD service providers are responsible for always using the current context. This must be done by always checking the last context, that was set using this method, before attempting to update any progress to the context.
context
- A non null
reference that allows services
offered by the tool environment to be used by the discovery
service during the execution of this method. See ToolContext
for more details on the use of this context.ToolContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |