|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.docmosis.template.store.TemplateStoreFactory
This factory provides TemplateStore instances. Currently only one store implementation is provided (a FileTemplateStore) and only one instance is created and shared by all users.
| Constructor Summary | |
TemplateStoreFactory()
|
|
| Method Summary | |
static TemplateStore |
getStore()
Get the current Template Store. |
static TemplateStore |
getStore(String location)
Get (and initialise if necessary) the template store to use based on current configuration. |
static void |
initialise()
Initialise the Template Store factory. |
static void |
release()
Release the template store from memory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TemplateStoreFactory()
| Method Detail |
public static TemplateStore getStore()
IllegalStateException - if initialise() hasn't been calledpublic static TemplateStore getStore(String location)
location - the location of the store
public static void initialise()
public static void release()
|
Docmosis API 2.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||