Package rocket.generator.rebind.type

Examples of rocket.generator.rebind.type.NewConcreteType.addInterface()


    type.setAbstract(false);
    type.setFinal(true);
    type.setSuperType(superType);
    type.setVisibility(Visibility.PUBLIC);

    type.addInterface(this.getAsyncServiceInterface(serviceInterface));
    type.addInterface(this.getRequiredInterface());
    type.addInterface(this.getServiceDefTarget());

    return type;
  }
View Full Code Here


    type.setFinal(true);
    type.setSuperType(superType);
    type.setVisibility(Visibility.PUBLIC);

    type.addInterface(this.getAsyncServiceInterface(serviceInterface));
    type.addInterface(this.getRequiredInterface());
    type.addInterface(this.getServiceDefTarget());

    return type;
  }
View Full Code Here

    type.setSuperType(superType);
    type.setVisibility(Visibility.PUBLIC);

    type.addInterface(this.getAsyncServiceInterface(serviceInterface));
    type.addInterface(this.getRequiredInterface());
    type.addInterface(this.getServiceDefTarget());

    return type;
  }

  /**
 
View Full Code Here

    beanFactory.setAbstract(false);
    beanFactory.setFinal(true);
    beanFactory.setSuperType(this.getBeanFactoryImpl());
    beanFactory.setVisibility(Visibility.PUBLIC);
    beanFactory.addInterface(implementsInterface);

    return beanFactory;
  }

  /**
 
View Full Code Here

  protected NewConcreteType createTestBuilder(final String newTypeName) {
    final NewConcreteType testBuilder = this.getGeneratorContext().newConcreteType(newTypeName);
    testBuilder.setAbstract(false);
    testBuilder.setFinal(true);
    testBuilder.setSuperType(this.getTestMethodTestBuilder());
    testBuilder.addInterface(this.getTestBuilder());

    return testBuilder;
  }

  protected Type getTestRunner(final Type type) {
View Full Code Here

    newType.setFinal(true);

    final Type superType = this.getImageFactoryImpl();
    newType.setSuperType(superType);

    newType.addInterface(type);

    newType.setVisibility(Visibility.PUBLIC);

    context.debug("extends " + superType.getName());
    context.debug("implements: " + type.getName());
View Full Code Here

    final NewConcreteType newType = this.getGeneratorContext().newConcreteType(newTypeName);
    newType.setAbstract(false);
    newType.setFinal(true);
    newType.setSuperType(this.getHtmlTemplateFactoryImpl());
    newType.addInterface(interfacee);

    this.implementInterfaceMethods(interfacee, newType);

    return newType;
  }
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.