if (log.isTraceEnabled()) log.trace("Method name is " + methodName);
if (log.isTraceEnabled()) log.trace("post " + methodName + ", updating hierarchy");
   public Object invoke(Invocation invocation) throws Throwable   {      String methodName = ((MethodInvocation) invocation).getMethod().getName();            Object retVal = invocation.invokeNext();                  if (methodName.equals("createSessionDelegate") ||          methodName.equals("createProducerDelegate") ||          methodName.equals("createConsumerDelegate") ||          methodName.equals("createBrowserDelegate") ||			 methodName.equals("createConnectionDelegate"))      {			if (log.isTraceEnabled()) log.trace("Method name is " + methodName);			         JMSInvocationHandler thisHandler = ((JMSMethodInvocation)invocation).getHandler();         JMSInvocationHandler returnedHandler =               (JMSInvocationHandler)Proxy.getInvocationHandler(retVal);         returnedHandler.setDelegate(retVal);         thisHandler.addChild(returnedHandler);      }            return retVal;         }