/** * Registers this Container with Remoting / AOP Dispatcher */ protected void registerWithAopDispatcher() { String registrationName = this.getObjectName().getCanonicalName(); ClassProxy classProxy = new InvokableContextClassProxyHack(this); // So that Remoting layer can reference this container easily. Dispatcher.singleton.registerTarget(registrationName, classProxy); // Log log.debug("Registered " + this + " with " + Dispatcher.class.getName() + " via " + InvokableContextClassProxyHack.class.getSimpleName() + " at key " + registrationName); }