Package org.jboss.scanning.plugins.visitor

Examples of org.jboss.scanning.plugins.visitor.CachingReflectProvider


   public void deploy(DeploymentUnit unit, Module deployment) throws DeploymentException
   {
      ReflectProvider provider = unit.removeAttachment(ReflectProvider.class);
      if (provider != null && provider instanceof CachingReflectProvider)
      {
         CachingReflectProvider crp = (CachingReflectProvider)provider;
         crp.reset();
      }
   }
View Full Code Here


   }

   @Override
   public void deploy(DeploymentUnit unit, Module deployment) throws DeploymentException
   {
      unit.addAttachment(ReflectProvider.class, new CachingReflectProvider(provider)); // wrap with cache
      if (handler != null)
         unit.addAttachment(ErrorHandler.class, handler);
      if (finder != null)
         unit.addAttachment(ResourceOwnerFinder.class, finder);
   }
View Full Code Here

TOP

Related Classes of org.jboss.scanning.plugins.visitor.CachingReflectProvider

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.