All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.ymate.platform.mvc.IEventHandler Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
/*
 * Copyright 2007-2107 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.ymate.platform.mvc;

import net.ymate.platform.mvc.context.IRequestContext;
import net.ymate.platform.mvc.view.IView;


/**
 * 

* IEventHandler *

*

* MVC框架事件处理器; *

* * @author 刘镇([email protected]) * @version 0.0.0 * * * * * * * * * * * *
版本号动作修改人修改时间
0.0.0创建类刘镇2012-12-3下午3:48:30
*/ public interface IEventHandler { /** * MVC框架初始化时将执行此事件回调 */ public void onInitialized(); /** * 当接收到请求时将执行此事件回调,返回非空视图对象将改变本次请求的执行结果 * * @param context * @return 返回视图对象 */ public IView onRequestReceived(IRequestContext context); /** * 当接收到的请求处理完毕时将执行此事件回调 * * @param context */ public void onRequestCompleted(IRequestContext context); /** * MVC框架销毁时将执行此事件回调 */ public void onDestroyed(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy