net.refractions.udig.catalog
Interface TemporaryResourceFactory


public interface TemporaryResourceFactory

Creates Temporary Resources. Used by the temporaryResource extension point and the ICatalog.getTemporaryDescriptorClasses() and ICatalog.createTemporaryResource(Object).

An example is in net.refractions.udig.catalog.memory plugin. It takes a FeatureType as the param and creates a resource that resolves to a FeatureStore that stores features of the FeatureType.

Since:
1.1.0
Author:
Jesse

Method Summary
 IGeoResource createResource(java.lang.Object param)
          Creates an IGeoResource that the implements the ITransientResolve interface or resolve to that interface.
 

Method Detail

createResource

IGeoResource createResource(java.lang.Object param)
                            throws java.io.IOException
Creates an IGeoResource that the implements the ITransientResolve interface or resolve to that interface.

Parameters:
param - A object of the type that is defined in the temporaryResource extension point.
Returns:
Creates an IGeoResource that the implements the ITransientResolve interface.
Throws:
java.io.IOException