public Object invoke(Invocation invocation) throws Throwable
{
if (isLocal())
{
String guid = (String)invocation.getMetaData(IS_LOCAL, GUID);
Container container = Ejb3Registry.getContainer(guid);
return invokeLocal(invocation, container);
}
return invocation.invokeNext();
}