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