Developer

BeanConverterInterface< T > interface

Bean that needs to be persisted to the session variable using the SessionVariableAttribute needs to implement this interface.

Package

com.sybase365.mobiliser.brand.plugins.smapp.beans
Syntax
Syntax
public interface BeanConverterInterface< T >

Members

All members of BeanConverterInterface< T >, including inherited members.

Methods
Modifier and Type Method Description
public T convert(String) Called when de-serializing the string retrieved from the session variable back into the bean.
public String convert(T) Used to serialized the bean of type T into string so that it can be saved into the session variable.

Usage

The bean will be serialized into String before saving to the session variable. Conversely, on retrieval the string be de-serialized back to the bean.