|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModulePluginDriver
webframe框架模块插件驱动接口,每一个分包(jar)中需要有一个实现该接口的实现类。 需要实现的方法有getEntityLocation()和getViewTempletLocation(); 实现类也可以继承抽象类AbstractModulePluginDriver
| Method Summary | |
|---|---|
String |
getEntityLocation()
获取数据库model Bean相对于该实现类的相对路径,或者相对于该jar的相对路径。 例如:我们的模块插件驱动实现类org.webframe.test.TestModulePluginDriver, model Bean的位置org.webframe.test.Test,那么该实现类getEntityLocation() 方法应该返回"/org/webframe/test"或者"*"字符串; |
String |
getModuleName()
|
String |
getSpringContextLocation()
不支持", ; \t \n"字符串表示多路径 |
String |
getViewTempletLocation()
获取model页面freemarker模板的路径,例如:我们的模块插件驱动实现类 org.webframe.test.TestModulePluginDriver, model freemarker模板的位置org/webframe/test/new.ftl,那么该实现类 getViewTempletLocation()方法应该返回"/org/webframe"。 |
String |
getWebSourcesLocation()
支持", ; \t \n"字符串表示多路径,例如:返回值为/js,/jsp,/style,表示模块插件包 根目录下的js、jsp、style三个目录中的资源 |
| Method Detail |
|---|
String getEntityLocation()
String getViewTempletLocation()
String getWebSourcesLocation()
String getSpringContextLocation()
String getModuleName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||