@Override
public void start() throws Exception
{
super.start();
SessionSpecContainer statelessContainer = getContainer();
LocalHome localHome = statelessContainer.getAnnotation(LocalHome.class);
if (localHome != null && !bindHomeAndBusinessTogether())
{
Class<?>[] interfaces =
{localHome.value()};
Object homeProxy = java.lang.reflect.Proxy.newProxyInstance(getContainer().getBeanClass().getClassLoader(),
interfaces, new StatelessLocalProxyInvocationHandler(getContainer(), null));
Util.rebind(getContainer().getInitialContext(), ProxyFactoryHelper.getLocalHomeJndiName(getContainer()), homeProxy);
}
}