org.frameworkset.soa.PreSerial Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-core Show documentation
Show all versions of bboss-core Show documentation
bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com
/*
* Copyright 2008 biaoping.yin
*
* 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 org.frameworkset.soa;
/**
* Title: PreSerial.java
* Description: 对序列化对象进行预处理
* bboss workgroup
* Copyright (c) 2007
* @Date 2014年6月20日 下午11:46:46
* @author biaoping.yin
* @version 1.0
*/
public interface PreSerial {
/**
* 获取预处理前的类型路径
* @return
*/
public String getClazz();
/**
* 获取值类型,将会设置到
* @return
*/
public String getVClazz();
/**
* 在序列化之前调用prehandle方法预处理对象
* @param object
* @return
*/
public T prehandle(T object);
/**
* 在反序列化后调用posthandle方法处理生成的对象
* @param object
* @return
*/
public T posthandle(T object);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy