// EJBLocalHomeImpl.remove(primaryKey)
protected void doEJBHomeRemove(Object primaryKey, Method removeMethod,
boolean local)
throws RemoveException, EJBException, RemoteException
{
EJBLocalRemoteObject ejbo;
if ( local ) {
ejbo = internalGetEJBLocalObjectImpl(primaryKey, false, true);
}
else { // may be remote-only bean
ejbo = internalGetEJBObjectImpl(primaryKey, null, false, true);