/* */ public Object internalInvokeHome(Invocation mi) throws Exception
/* */ {
/* 498 */ Method method = mi.getMethod();
/* 499 */ if ((method != null) && (method.getName().equals("remove")))
/* */ {
/* 502 */ InvocationType type = mi.getType();
/* 503 */ if (type == InvocationType.HOME)
/* 504 */ mi.setType(InvocationType.REMOTE);
/* 505 */ else if (type == InvocationType.LOCALHOME)
/* 506 */ mi.setType(InvocationType.LOCAL);
/* 507 */ mi.setMethod(EJBOBJECT_REMOVE);