Codota Logo
ELContextEvent
Code IndexAdd Codota to your IDE (free)

How to use
ELContextEvent
in
javax.el

Best Java code snippets using javax.el.ELContextEvent (Showing top 20 results out of 540)

Refine searchRefine arrow

  • ELContextListener
  • Common ways to obtain ELContextEvent
private void myMethod () {
ELContextEvent e =
  • Codota IconELContext source;new ELContextEvent(source)
  • Smart code suggestions by Codota
}
origin: org.freemarker/freemarker

ELContext createNewELContext(final FreeMarkerPageContext pageCtx) {
  ELContext ctx = new FreeMarkerELContext(pageCtx);
  ELContextEvent event = new ELContextEvent(ctx);
  synchronized (listeners) {
    for (Iterator iter = listeners.iterator(); iter.hasNext(); ) {
      ELContextListener l = (ELContextListener) iter.next();
      l.contextCreated(event);
    }
  }
  return ctx;
}
origin: javax.el/javax.el-api

  /**
   * Returns the <code>ELContext</code> that was created.
   * This is a type-safe equivalent of the {@link #getSource} method.
   *
   * @return the ELContext that was created.
   */
  public ELContext getELContext() {
    return (ELContext) getSource();
  }
}
origin: javax.faces/jsf-impl

/**
 * Invoked when a new <code>ELContext</code> has been created.
 *
 * @param ece the notification event.
 */
public void contextCreated(ELContextEvent ece) {
  
  
  FacesContext context = FacesContext.getCurrentInstance();
  if ( context == null) {
    return;
  }
  ELContext source = (ELContext)ece.getSource();
  // Register FacesContext with JSP
  source.putContext(FacesContext.class, context);
  
  // dispatch the event to any JSF applications interested in
  // the event.
  ELContextListener[] listeners = 
    context.getApplication().getELContextListeners();
  if ( listeners == null) {
    return;
  }
  for (int i = 0; i < listeners.length; ++i) {
    ELContextListener elcl = listeners[i];
    elcl.contextCreated(new ELContextEvent(source));
  }
}

origin: org.apache.myfaces.core/myfaces-impl

public void contextCreated(ELContextEvent ece)
{
  FacesContext facesContext = FacesContext.getCurrentInstance();
  if (facesContext != null)
  {
    ece.getELContext().putContext(FacesContext.class, facesContext);
    for (ELContextListener listener : facesContext.getApplication().getELContextListeners())
    {
      listener.contextCreated(ece);
    }
  }
}
origin: org.jboss.weld.se/weld-se

public void contextCreated(ELContextEvent contextEvent) {
  ELCreationalContextStack.addToContext(contextEvent.getELContext());
}
origin: org.glassfish/javax.faces

  return;
ELContext source = (ELContext)ece.getSource();
  elcl.contextCreated(new ELContextEvent(source));
origin: org.apache.myfaces/com.springsource.org.apache.myfaces

public void contextCreated(ELContextEvent ece)
{
  FacesContext facesContext = FacesContext.getCurrentInstance();
  if (facesContext != null)
  {
    ece.getELContext().putContext(FacesContext.class, facesContext);
    for (ELContextListener listener : facesContext.getApplication().getELContextListeners())
    {
      listener.contextCreated(ece);
    }
  }
}
origin: weld/core

public void contextCreated(ELContextEvent contextEvent) {
  ELCreationalContextStack.addToContext(contextEvent.getELContext());
}
origin: weld/core

public static void callELContextListeners(ELContext context) {
  ELContextEvent event = new ELContextEvent(context);
  for (ELContextListener listener : EL_CONTEXT_LISTENERS) {
    listener.contextCreated(event);
  }
}
origin: com.sun.faces/jsf-impl

  return;
ELContext source = (ELContext)ece.getSource();
  elcl.contextCreated(new ELContextEvent(source));
origin: javax.el/el-api

  /**
   * Returns the <code>ELContext</code> that was created.
   * This is a type-safe equivalent of the {@link #getSource} method.
   *
   * @return the ELContext that was created.
   */
  public ELContext getELContext() {
    return (ELContext) getSource();
  }
}
origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

public void contextCreated(ELContextEvent ece)
{
  FacesContext facesContext = FacesContext.getCurrentInstance();
  if (facesContext != null)
  {
    ece.getELContext().putContext(FacesContext.class, facesContext);
    for (ELContextListener listener : facesContext.getApplication().getELContextListeners())
    {
      listener.contextCreated(ece);
    }
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public void contextCreated(ELContextEvent contextEvent) {
  ELCreationalContextStack.addToContext(contextEvent.getELContext());
}
origin: weld/core

private void callELContextListeners(ELContext context) {
  ELContextEvent event = new ELContextEvent(context);
  for (ELContextListener listener : EL_CONTEXT_LISTENERS) {
    listener.contextCreated(event);
  }
}
origin: org.glassfish/jakarta.faces

  return;
ELContext source = (ELContext)ece.getSource();
  elcl.contextCreated(new ELContextEvent(source));
origin: org.glassfish/javax.el

  /**
   * Returns the <code>ELContext</code> that was created.
   * This is a type-safe equivalent of the {@link #getSource} method.
   *
   * @return the ELContext that was created.
   */
  public ELContext getELContext() {
    return (ELContext) getSource();
  }
}
origin: org.apache.myfaces.core/myfaces-shaded-impl

public void contextCreated(ELContextEvent ece)
{
  FacesContext facesContext = FacesContext.getCurrentInstance();
  if (facesContext != null)
  {
    ece.getELContext().putContext(FacesContext.class, facesContext);
    for (ELContextListener listener : facesContext.getApplication().getELContextListeners())
    {
      listener.contextCreated(ece);
    }
  }
}
origin: weld/core

public void contextCreated(ELContextEvent contextEvent) {
  ELCreationalContextStack.addToContext(contextEvent.getELContext());
}
origin: org.jboss.weld/weld-porting-package-tck11

private void callELContextListeners(ELContext context) {
  ELContextEvent event = new ELContextEvent(context);
  for (ELContextListener listener : EL_CONTEXT_LISTENERS) {
    listener.contextCreated(event);
  }
}
origin: eclipse-ee4j/mojarra

  return;
ELContext source = (ELContext)ece.getSource();
  elcl.contextCreated(new ELContextEvent(source));
javax.elELContextEvent

Javadoc

An event which indicates that an ELContext has been created. The source object is the ELContext that was created.

Most used methods

  • <init>
    Constructs an ELContextEvent object to indicate that anELContext has been created.
  • getSource
  • getELContext
    Returns the ELContext that was created. This is a type-safe equivalent of the #getSource method.

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • getSystemService (Context)
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now