Package tr.gov.tcmb.spring.serialization

Examples of tr.gov.tcmb.spring.serialization.ProxySerializer


  public static Object createComponentWrapper(Class<?> componentClass,
      String componentId, ClassLoader classLoader) {
    TargetSource targetSource = new ComponentTargetSource(componentClass,
        componentId);
    ProxySerializer serializer = new ViewComponentSerializer(
        componentClass, componentId);

    ProxyFactory proxyFactory = new ProxyFactory();
    proxyFactory.setTargetSource(targetSource);
    proxyFactory.setProxyTargetClass(true);
View Full Code Here


  private final Log logger = LogFactory.getLog(getClass());

  @Override
  public Object getAutowireValue(DependencyDescriptor descriptor,
      ClassLoader classLoader) {
    ProxySerializer serializer = new CurrentFacesContextSerializer();
    ProxyFactory proxyFactory = new ProxyFactory();
    proxyFactory.setTargetSource(new FacesContextTargetSource());
    proxyFactory.setProxyTargetClass(true);
    ProxySerializerHelper.register(proxyFactory, serializer);
    proxyFactory.setFrozen(true);
View Full Code Here

TOP

Related Classes of tr.gov.tcmb.spring.serialization.ProxySerializer

Copyright © 2018 www.massapicom. 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.