ISharedObjectContext context = getContext();
if (context == null)
return;
IQueueEnqueue queue = context.getQueue();
try {
queue.enqueue(new SharedObjectMsgEvent(getID(), getContext().getLocalContainerID(), msg));
} catch (QueueException e) {
traceCatching("sendSharedObjectMsgToSelf", e); //$NON-NLS-1$
log(DESTROYREMOTE_CODE, "sendSharedObjectMsgToSelf", e); //$NON-NLS-1$
}
}