|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataEdit
Top-level interface for editing connection information,
InteractionSpec
,
ConnectionSpec
, and adminstered objects.
Implementations of this interface are provided by EMD service providers, and
are instantiated during the bootstrap process of the tool environment.
MetadataEdit may be used by tools for application authoring as well as
runtime administration.
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.
Method Summary | |
---|---|
EditableType |
getAdministeredObjectType(String aoClassName)
Returns an EditableType for editing the specified administered object. |
EditableType |
getConnectionSpecType(String csClassName)
Returns a EditableType for editing the specified ConnectionSpec. |
InboundConnectionType |
getInboundConnectionType(String asClassName)
Returns a ConnectionType which can be used for editing the ResourceAdapter Java bean and ActivationSpec . |
EditableType |
getInteractionSpecType(String isClassName)
Returns an EditableType for editing the specified InteractionSpec. |
OutboundConnectionType |
getOutboundConnectionType(String mcfClassName)
Returns an OutboundConnectionType which can be used for editing the ResourceAdapter Java bean, and ManagedConnectionFactory . |
Method Detail |
---|
EditableType getInteractionSpecType(String isClassName) throws MetadataException
isClassName
- The non null
fully qualified class name of the
desired InteractionSpec.
null
EditableType for the specified
InteractionSpec.
MetadataException
- if an error occurs during execution. This includes conditions
when an unsupported isClassName is specified.InteractionSpec
EditableType getConnectionSpecType(String csClassName) throws MetadataException
csClassName
- The non null
fully qualified class name of the
desired ConnectionSpec.
null
EditableType for the specified
ConnectionSpec.
MetadataException
- if an error occurs during execution. This includes conditions
when an unsupported csClassName is specified.ConnectionSpec
EditableType getAdministeredObjectType(String aoClassName) throws MetadataException
aoClassName
- The non null
fully qualified class name of the
desired administered object.
null
EditableType for the specified
administered object.
MetadataException
- if an error occurs during execution. This includes conditions
when an unsupported aoClassName is specified.OutboundConnectionType getOutboundConnectionType(String mcfClassName) throws MetadataException
ResourceAdapter
Java bean, and ManagedConnectionFactory
.
mcfClassName
- The non null
fully qualified class name of the
ManagedConnectionFactory.
null
OutboundConnectionType for the specified class.
MetadataException
- if an error occurs during execution. This includes conditions
where the class name is invalid.InboundConnectionType getInboundConnectionType(String asClassName) throws MetadataException
ResourceAdapter
Java bean and ActivationSpec
.
asClassName
- The non null
fully qualified class name of the
ActivationSpec.
null
InboundConnectionType for the class.
MetadataException
- if an error occurs during execution. This includes conditions
where the class name is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |