ConnectionFactoryDelegate proxy = (ConnectionFactoryDelegate)createProxy();
ConnectionFactoryDelegate proxy = (ConnectionFactoryDelegate)createProxy(connFactoryID);
   private ConnectionFactory createConnectionFactory() throws Exception   {      ConnectionFactoryDelegate proxy = (ConnectionFactoryDelegate)createProxy();      return new JBossConnectionFactory(proxy);   }