public interface Application
void init(Configuration configuration) throws Exception
Exceptionvoid init(Configuration configuration, Source source) throws Exception
ExceptionApplication setCache(String key, Object value)
void reloadAppContext()
void initContext()
void refreshAppContext(AppContext appContext) throws Exception
ExceptionAppContext getAppContext()
URLClassLoader getClassLoader()
String getAppId()
String getProductId()
void triggerFilter(javax.servlet.Filter filter,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
void triggerControl(javax.servlet.http.HttpServlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
void triggerNewSession(AppSession appSession)
void triggerLogin(AppSession appSession)
void triggerLogout(AppSession appSession)
AppInfoBean getApp()
ProductInfoBean getProduct()
DictionaryEntity getDictionary(String id)
DictionaryEntity getDictionaryByName(String name)
List<OptionBean> getOptions(String name)
List<OptionBean> getOptions(AppSession session, String name)
PageEntity getPage(String id)
ServiceBean<?> getService(String id)
ServiceBean<?> getServiceByName(String name)
ServiceTemplateEntity getServiceTemplate(String id)
DatabaseTableEntity getTable(String id)
DatabaseTableEntity getTableByName(String name)
DatabaseTableColumnEntity getColumn(String columnid)
void triggerChange(Entity entity)
void triggerDelete(Entity entity)
void triggerPluginsChange()
Object processService(String name, javax.servlet.http.HttpServletRequest request) throws Exception
ExceptionService getService(DatabaseTableEntity table)
com.alibaba.fastjson.JSONObject getPlugins()
Copyright © 2018. All rights reserved.