org.eclipse.stp.core.introspection
Interface IShareableComponentTypeFactory


public interface IShareableComponentTypeFactory

The IShareableComponentTypeFactory must be able to accept a custom Implementation representing a custom feature and convert the Implementation to a URI. The URI will then be used to request a shared resource.

Clients should refer to com.ibm.ccl.soa.core.componentTypeIntrospector for more information on when to use interface.

Clients may implement this interface.

Since:
1.0

Method Summary
 IFile findShareableFile(EStructuralFeature theImplementationFeature, Implementation anImplementation)
          This method should return an IFile for the shareable resource.
 

Method Detail

findShareableFile

IFile findShareableFile(EStructuralFeature theImplementationFeature,
                        Implementation anImplementation)
This method should return an IFile for the shareable resource. that can be used to load a shared Resource that will contain a ComponentType. The structural feature can be passed to ExtendedMetadata.INSTANCE.getName() to determine the XML element used to serialize the associated model object.

Parameters:
theImplementationFeature - The EMF feature (substitution group) context for the given implementation
anImplementation - The implementation with metadata about the ComponentType
Returns:
A URI that can be used to request the componentType as a resource from a ResourceSet