The New Session use Generics and java reflect