|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataBuild
Top-level interface for building service description facilities. Implementations of this interface are provided by build service providers, and are instantiated during the bootstrap process in the tool environment. MetadataBuild may be used by tools dedicated to both design-time and admin-time activities. Using implementations of this interface, tool environments can build the types of resources that can be exposed into the tool environment, the types of connections that can be established to those resources, and the objects those resources contain or provide.
Implementations of this interface must have a default constructor so that tool environments are able to create instances of it during the bootstrap process. Implementations must be thread compatible (not thread-safe), as they may run in a threaded environment. Thread compatible requires that if a unique instance is used in each thread then correct behaviour is observed. Also, if the tool synchronizes calls to the methods then correct behaviour is observed except when internal state is changed. Setting the Configuration and ConnectionType will change state.
Method Summary | |
---|---|
FunctionBuilder |
createFunctionBuilder(String functionSelector)
Create functionBuilder based on set ConnectionTypeID. |
SchemaDefinition[] |
getCommonSchemas(QName type)
Allows tooling to obtain the definition for a complex type that is supplied by the adapter. |
QName[] |
getCommonSchemaTypes()
Returns an array of QName of the global complex types that are provided by this adapter. |
String[] |
getConnectionSpecClassName()
Return the list of ConnectionSpec s that can be used with the
set connectionType. |
String |
getDefaultDataBinding()
Return a fully qualified class name for a default DataBinding that can be used with the service. |
String |
getDefaultFunctionSelector()
Return a fully qualified class name for the default FunctionSelector that can be used with the set inbound connectionType. |
InteractionSpec |
getDefaultInteractionSpec()
Return a new default instance of the InteractionSpec that can be used with the set outbound connectionType. |
String[] |
getListenerClassName()
Return the list of listener interfaces that can be used with the set inbound connectionType. |
void |
setConnectionType(String connectionTypeID)
Set the connectionType to be used when building the service. |
Methods inherited from interface commonj.connector.metadata.MetadataService |
---|
getAdapterType, getAdapterTypeSummaries, getConfiguration, getSupportedConfiguration, setConfiguration, setToolContext |
Method Detail |
---|
void setConnectionType(String connectionTypeID)
connectionTypeID
- the selected connectionType to be used when
building the service.InteractionSpec getDefaultInteractionSpec()
String getDefaultFunctionSelector()
null if one is not provided
by the adapter.
String getDefaultDataBinding()
null if one is not provided
by the adapter.
FunctionBuilder createFunctionBuilder(String functionSelector)
functionSelector
- is the fully qualified className of the the functionSelector specified on the
InboundServiceDescription
, or null
if a functionSelector
has not been specified or if this is for an outbound function.
String[] getConnectionSpecClassName()
ConnectionSpec
s that can be used with the
set connectionType. This can be used to support the application passing
connection specific properties.
ConnectionSpec
s that can be used with the set
connectionType.String[] getListenerClassName()
InboundListener
QName[] getCommonSchemaTypes()
SchemaDefinition[] getCommonSchemas(QName type)
FunctionBuilder.updateFunctionBuilder(FunctionDescription)
is invoked.
type
- specifies the QName of the global complex type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |