All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.weld.module.web.el.CreationalContextCallable Maven / Gradle / Ivy

Go to download

This jar bundles all the bits of Weld and CDI required for running in a Servlet container.

There is a newer version: 6.0.0.Beta4
Show newest version
package org.jboss.weld.module.web.el;

class CreationalContextCallable {

    private ELCreationalContext ctx;

    ELCreationalContext get() {
        if (ctx == null) {
            ctx = new ELCreationalContext(null);
        }
        return ctx;
    }

    boolean exists() {
        return ctx != null;
    }

}