public class StoreRegistry
extends java.lang.Object
Constructor and Description |
---|
StoreRegistry() |
Modifier and Type | Method and Description |
---|---|
StoreDescription |
findDescription(java.lang.Class<?> aClass)
Find Description by class
|
StoreDescription |
findDescription(java.lang.String id)
Find a description for id.
|
IStoreFactory |
findStoreFactory(java.lang.Class<?> aClass)
find factory from class
|
IStoreFactory |
findStoreFactory(java.lang.String aClassName)
Find factory from classname
|
java.lang.String |
getEncoding() |
java.lang.String |
getName() |
java.lang.String |
getVersion() |
void |
registerDescription(StoreDescription desc)
Register a new description
|
void |
setEncoding(java.lang.String string) |
void |
setName(java.lang.String name) |
void |
setVersion(java.lang.String version) |
StoreDescription |
unregisterDescription(StoreDescription desc) |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- The version to set.public StoreDescription findDescription(java.lang.String id)
id
- public StoreDescription findDescription(java.lang.Class<?> aClass)
aClass
- public IStoreFactory findStoreFactory(java.lang.String aClassName)
aClassName
- public IStoreFactory findStoreFactory(java.lang.Class<?> aClass)
aClass
- public void registerDescription(StoreDescription desc)
desc
- public StoreDescription unregisterDescription(StoreDescription desc)
public java.lang.String getEncoding()
public void setEncoding(java.lang.String string)
string
- Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.