public EJBLocalObject getEJBLocalObject() throws IllegalStateException
{
try
{
Object id = beanContext.getId();
EJBLocalObject proxy = null;
try
{
proxy = (EJBLocalObject) container.createProxyLocalEjb21(id);
}
// Proxy does not implement EJBLocalObject