Examples of ClassProxy


Examples of org.jboss.aop.proxy.ClassProxy

/*     */   }
/*     */
/*     */   public ClassProxy addMapVersioning(Map map, DistributedMapState manager)
/*     */     throws Exception
/*     */   {
/* 250 */     ClassProxy proxy = ClassProxyFactory.newInstance(map.getClass());
/* 251 */     GUID guid = manager.getGUID();
/* 252 */     SimpleMetaData metaData = proxy._getInstanceAdvisor().getMetaData();
/* 253 */     metaData.addMetaData("VERSION_MANAGER", "VERSION_ID", guid);
/* 254 */     StateManager.setStateManager(proxy, manager);
/* 255 */     CollectionStateChangeInterceptor interceptor = new CollectionStateChangeInterceptor(manager);
/* 256 */     proxy._getInstanceAdvisor().appendInterceptor(interceptor);
/* 257 */     return proxy;
/*     */   }
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.