Package org.jboss.errai.cdi.client.api

Examples of org.jboss.errai.cdi.client.api.ConversationContext


    public String generateDecorator(InjectionPoint<ConversationContext> injectionPoint) {
        final InjectionContext ctx = injectionPoint.getInjectionContext();

        final JField field = injectionPoint.getField();
        final ConversationContext context = field.getAnnotation(ConversationContext.class);

        String varName = injectionPoint.getInjector().getVarName();

        String expression = varName + "." +field.getName() +
                " = org.jboss.errai.cdi.client.api.CDI.createConversation(\""+context.value()+"\");";
               
        return expression;
    }
View Full Code Here

TOP

Related Classes of org.jboss.errai.cdi.client.api.ConversationContext

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.