Package br.com.caelum.vraptor.controller

Examples of br.com.caelum.vraptor.controller.DefaultBeanClass


  @Before
  public void setUp() throws Exception {
    provider = new ParanamerNameProvider();

    deserializer = new XStreamXMLDeserializer(provider, cleanInstance(new CalendarConverter()));
    BeanClass controllerClass = new DefaultBeanClass(DogController.class);
    BeanClass personControllerClass = new DefaultBeanClass(PersonController.class);

    woof = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("woof"));
    bark = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("bark", Dog.class));
    jump = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("jump", Dog.class, Integer.class));
    dropDead = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("dropDead", Integer.class, Dog.class));
View Full Code Here


  public void configure(@Observes VRaptorInitialized event){
    for (Bean<?> bean : beanManager.getBeans(Object.class)) {
      Annotation qualifier = tryToFindAStereotypeQualifier(bean);
      if (qualifier != null) {
        beanManager.fireEvent(new DefaultBeanClass(bean.getBeanClass()), qualifier);
      }
    }
    interceptorsCache.init();
  }
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.controller.DefaultBeanClass

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.