default init
This commit is contained in:
parent
44c22ed0ad
commit
4fcd503699
|
@ -25,6 +25,11 @@ public class MetadataTemplateManagerFactory implements Factory<TemplateManager>{
|
|||
private static final TemplateManager getInstance() {
|
||||
if(instance==null) {
|
||||
instance=new MetadataTemplateManagerImpl();
|
||||
try {
|
||||
((MetadataTemplateManagerImpl)instance).defaultInit();
|
||||
}catch(Exception e) {
|
||||
throw new RuntimeException("Unable to init temp ",e);
|
||||
}
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue