![JAR search and dependency download from the Maven repository](/logo.png)
org.frameworkset.security.session.impl.BBossSessionSerial Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-security Show documentation
Show all versions of bboss-security Show documentation
support session share between application cluster nodes and cross domain application nodes.support good application session monitor and session data statitic module.demo site http://session.bbossgroups.com/
The newest version!
package org.frameworkset.security.session.impl;
import org.frameworkset.soa.ObjectSerializable;
public class BBossSessionSerial extends AbstractSessionSerial {
public BBossSessionSerial() {
// TODO Auto-generated constructor stub
}
@Override
public String serialize(Object value) {
if(value != null)
{
try {
return ObjectSerializable.toXML(value);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return null;
}
@Override
public Object deserialize(String value) {
if(value == null)
return null;
return ObjectSerializable.toBean((String)value, Object.class);
}
@Override
public String handleLikeCondition(Object condition) {
// TODO Auto-generated method stub
return new StringBuilder().append("^<\\!\\[CDATA\\[" ).append( condition ).append( ".*$").toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy