public void onlyAllowLocalInvocations () { if (isDebugEnabled) log.debug ("Only allow local invocation from now on: " + this.container.getServiceName ().toString ()); this.allowRemoteInvocations = false; }
protected String getOrigin (Invocation mi) { String value = currentModule.get(); if (log.isTraceEnabled()) log.trace ("GET_ORIGIN: " + value + " in " + this.container.getServiceName ().toString ()); return value; }
/** * Restore any timers previously persisted for this container */ protected void restoreTimers() { try { // TODO: this name needs to be externalized // pass to the ejb timer service the container ObjectName timerService.restoreTimers(getServiceName(), getClassLoader()); } catch (Exception e) { log.warn("Could not restore ejb timers", e); } }
ejbModule.getModuleData ("CleanShutDownInterceptor-" + otherContainer.getServiceName ().toString ()); if (inter == null)
public void create() throws Exception { super.create (); this.allowInvocations = false; this.allowRemoteInvocations = false; this.isDebugEnabled = log.isDebugEnabled (); ejbModuleName = ejbModule.getServiceName().toString(); // we register our inner-class to retrieve STATE notifications from our container // AttributeChangeNotificationFilter filter = new AttributeChangeNotificationFilter (); filter.enableAttribute ("State"); this.container.getServer (). addNotificationListener (this.container.getEjbModule ().getServiceName (), new CleanShutdownInterceptor.StateChangeListener (), filter, null); // we need a way to find all CleanShutDownInterceptor of an EjbModule // ejbModule.putModuleData ("CleanShutDownInterceptor-" + this.container.getServiceName ().toString (), this); }
log.trace("process:isInvoke="+isInvoke + " bean="+ container.getServiceName());
log.trace("Bean:"+ container.getServiceName() + " securityDomain="+securityDomain + " isInvokeMethod="+ isInvokeMethod);