if (Stateless.class.equals(getSessionType())) {
_sessionBean = new StatelessGenerator(getEJBName(), ejbClass,
getLocalList(), getRemoteList());
} else if (Stateful.class.equals(getSessionType())) {
_sessionBean = new StatefulGenerator(getEJBName(), ejbClass,
getLocalList(), getRemoteList());
} else if (Singleton.class.equals(getSessionType())){
_sessionBean = new SingletonGenerator(getEJBName(), ejbClass,
getLocalList(), getRemoteList());
}