|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.catalog.memory.MemoryServiceExtensionImpl
public class MemoryServiceExtensionImpl
Field Summary | |
---|---|
static java.util.Map<java.net.URL,MemoryServiceImpl> |
impl
|
static java.lang.String |
KEY
service creation key |
static java.lang.String |
MEMBER_PARAM
This param indicates a FeatureType that needs to be created in the DataStore. |
static java.net.URL |
URL
special memory service url |
Fields inherited from interface net.refractions.udig.catalog.ServiceExtension |
---|
EXTENSION_ID |
Constructor Summary | |
---|---|
MemoryServiceExtensionImpl()
|
|
MemoryServiceExtensionImpl(MemoryDSFactory factory)
This permits the use of a custom sub-class of an ActiveMemoryDataStore. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.io.Serializable> |
createParams(java.net.URL url)
The primary intention is for drag 'n' drop. |
IService |
createService(java.net.URL id2,
java.util.Map<java.lang.String,java.io.Serializable> params)
Creates an IService based on the params provided. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY
public static final java.net.URL URL
public static final java.util.Map<java.net.URL,MemoryServiceImpl> impl
public static final java.lang.String MEMBER_PARAM
Since MemoryData store is volatile there needs to be a way to specify what FeatureTypes the DataStore has using the parameters.
Constructor Detail |
---|
public MemoryServiceExtensionImpl()
public MemoryServiceExtensionImpl(MemoryDSFactory factory)
factory
- providing custom datastore to be used or nullMethod Detail |
---|
public IService createService(java.net.URL id2, java.util.Map<java.lang.String,java.io.Serializable> params)
ServiceExtension
createService
in interface ServiceExtension
id2
- The sugested service id, should be generated when null.params
- The set of connection params. These param values may either be parsed, or
unparsed (String).
IResolve.getStatus()
,
IResolve.getMessage()
public java.util.Map<java.lang.String,java.io.Serializable> createParams(java.net.URL url)
ServiceExtension
createParams
in interface ServiceExtension
url
- The potential source of params.
null
if the URL cannot be used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |