super(deploymentInfo, interfaceType, interfaces);
}
public Object createProxy(Object primaryKey) {
Object proxy = super.createProxy(primaryKey);
EjbObjectProxyHandler handler = (EjbObjectProxyHandler) ProxyManager.getInvocationHandler(proxy);
/*
* Register the handle with the BaseEjbProxyHandler.liveHandleRegistry
* If the bean is removed by its home or by an identical proxy, then the
* this proxy will be automatically invalidated because its properly registered
* with the liveHandleRegistry.
*/
registerHandler(handler.getRegistryId(), handler);
return proxy;
}