case STATEFUL:
return new StatefulEjbHomeHandler(beanContext, interfaceType, interfaces, mainInterface);
case STATELESS:
return new StatelessEjbHomeHandler(beanContext, interfaceType, interfaces, mainInterface);
case SINGLETON:
return new SingletonEjbHomeHandler(beanContext, interfaceType, interfaces, mainInterface);
case MANAGED:
return new ManagedHomeHandler(beanContext, interfaceType, interfaces, mainInterface);
case CMP_ENTITY:
case BMP_ENTITY:
return new EntityEjbHomeHandler(beanContext, interfaceType, interfaces, mainInterface);