Package org.jboss.proxy

Examples of org.jboss.proxy.GenericProxyFactory.createProxy()


/*     */
/* 210 */     if (this.interceptorClasses == null)
/* 211 */       this.interceptorClasses = defineDefaultInterceptors();
/* 212 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 213 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 214 */     this.theProxy = proxyFactory.createProxy(cacheID, this.jmxInvokerName, delegateInvoker, this.jndiName, proxyBindingName, this.interceptorClasses, loader, ifaces);
/*     */
/* 217 */     this.log.debug("Created HttpInvokerProxy for invoker=" + this.jmxInvokerName + ", nameHash=" + nameHash);
/*     */
/* 220 */     if (this.jndiName != null)
/*     */     {
View Full Code Here


/* 285 */     ArrayList interceptorClasses = new ArrayList();
/* 286 */     interceptorClasses.add(ClientMethodInterceptor.class);
/* 287 */     interceptorClasses.add(InvokerInterceptor.class);
/* 288 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 289 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 290 */     this.theProxy = proxyFactory.createProxy(cacheID, targetName, this.delegateInvoker, jndiName, proxyBindingName, interceptorClasses, loader, ifaces);
/*     */
/* 293 */     log.debug("Created proxy for invoker=" + this.jmxInvokerName + ", targetName=" + targetName + ", nameHash=" + nameHash);
/*     */   }
/*     */
/*     */   protected void destroyProxy()
View Full Code Here

/* 491 */     ArrayList interceptorClasses = new ArrayList();
/* 492 */     interceptorClasses.add(ClientMethodInterceptor.class);
/* 493 */     interceptorClasses.add(InvokerInterceptor.class);
/* 494 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 495 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 496 */     Object connProxy = proxyFactory.createProxy(cacheID, targetName, this.delegateInvoker, jndiName, proxyBindingName, interceptorClasses, loader, ifaces);
/*     */
/* 499 */     this.connectionMap.put(cacheID, conn);
/* 500 */     log.debug("Created Connection proxy for invoker=" + this.jmxInvokerName + ", targetName=" + targetName + ", cacheID=" + cacheID);
/*     */
/* 502 */     return connProxy;
View Full Code Here

/* 514 */     interceptorClasses.add(StatementInterceptor.class);
/* 515 */     interceptorClasses.add(ClientMethodInterceptor.class);
/* 516 */     interceptorClasses.add(InvokerInterceptor.class);
/* 517 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 518 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 519 */     Object stmtProxy = proxyFactory.createProxy(cacheID, targetName, this.delegateInvoker, jndiName, proxyBindingName, interceptorClasses, loader, ifaces);
/*     */
/* 522 */     this.statementMap.put(cacheID, stmt);
/* 523 */     log.debug("Created Statement proxy for invoker=" + this.jmxInvokerName + ", targetName=" + targetName + ", cacheID=" + cacheID);
/*     */
/* 525 */     return stmtProxy;
View Full Code Here

/* 537 */     ArrayList interceptorClasses = new ArrayList();
/* 538 */     interceptorClasses.add(ClientMethodInterceptor.class);
/* 539 */     interceptorClasses.add(InvokerInterceptor.class);
/* 540 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 541 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 542 */     Object resultsProxy = proxyFactory.createProxy(cacheID, targetName, this.delegateInvoker, jndiName, proxyBindingName, interceptorClasses, loader, ifaces);
/*     */
/* 545 */     this.resultSetMap.put(cacheID, results);
/* 546 */     log.debug("Created ResultSet proxy for invoker=" + this.jmxInvokerName + ", targetName=" + targetName + ", cacheID=" + cacheID);
/*     */
/* 548 */     return resultsProxy;
View Full Code Here

/* 558 */     ArrayList interceptorClasses = new ArrayList();
/* 559 */     interceptorClasses.add(ClientMethodInterceptor.class);
/* 560 */     interceptorClasses.add(InvokerInterceptor.class);
/* 561 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 562 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 563 */     Object resultsProxy = proxyFactory.createProxy(cacheID, targetName, this.delegateInvoker, jndiName, proxyBindingName, interceptorClasses, loader, ifaces);
/*     */
/* 566 */     this.lobMap.put(cacheID, results);
/* 567 */     log.debug("Created LOB proxy for invoker=" + this.jmxInvokerName + ", targetName=" + targetName + ", cacheID=" + cacheID);
/*     */
/* 569 */     return resultsProxy;
View Full Code Here

/* 579 */     ArrayList interceptorClasses = new ArrayList();
/* 580 */     interceptorClasses.add(ClientMethodInterceptor.class);
/* 581 */     interceptorClasses.add(InvokerInterceptor.class);
/* 582 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 583 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 584 */     Object dbMetaDataProxy = proxyFactory.createProxy(cacheID, targetName, this.delegateInvoker, jndiName, proxyBindingName, interceptorClasses, loader, ifaces);
/*     */
/* 587 */     this.databaseMetaDataMap.put(cacheID, dbMetaData);
/* 588 */     log.debug("Created DatabaseMetadata proxy for invoker=" + this.jmxInvokerName + ", targetName=" + targetName + ", cacheID=" + cacheID);
/*     */
/* 590 */     return dbMetaDataProxy;
View Full Code Here

/* 229 */     interceptorList.add(InvokerInterceptor.class);
/*     */
/* 231 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 232 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/*     */
/* 234 */     Object proxy = proxyFactory.createProxy(cacheID, this.serviceName, this.delegateInvoker, jndiName, proxyBindingName, interceptorList, loader, targetInterfaces);
/*     */
/* 238 */     this.objectMap.put(cacheID, value);
/*     */
/* 240 */     return proxy;
/*     */   }
View Full Code Here

/* 259 */     interceptorList.add(ClientMethodInterceptor.class);
/* 260 */     interceptorList.add(InvokerInterceptor.class);
/*     */
/* 262 */     ClassLoader loader = Thread.currentThread().getContextClassLoader();
/* 263 */     GenericProxyFactory proxyFactory = new GenericProxyFactory();
/* 264 */     this.theProxy = proxyFactory.createProxy(cacheID, serviceName, this.delegateInvoker, jndiName, proxyBindingName, interceptorList, loader, connectionFactoryInterface);
/*     */   }
/*     */
/*     */   protected void bindConnectionFactory()
/*     */     throws Exception
/*     */   {
View Full Code Here

      ClassLoader loader,
      Class[] ifaces
   )
   {
      GenericProxyFactory proxyFactory = new GenericProxyFactory();
      theProxy = proxyFactory.createProxy(cacheID, getServiceName(), invoker,
         getJndiName(), proxyBindingName, getInterceptorClasses(), loader, ifaces);
   }

   // inner-classes
  
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.