@Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { delegate().subscribeToEvent(systemEventClass, sourceClass, listener); }
@Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) { delegate().subscribeToEvent(systemEventClass, listener); }
@Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { application.subscribeToEvent(systemEventClass, sourceClass, listener); }
@Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) { application.subscribeToEvent(systemEventClass, listener); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#subscribeToEvent(Class, javax.faces.event.SystemEventListener)} on the * wrapped {@link Application} object.</p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, listener); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#subscribeToEvent(Class, Class, javax.faces.event.SystemEventListener)} on the * wrapped {@link Application} object.</p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, sourceClass, listener); }
public ClientWindowFactoryImpl() { FacesContext context = FacesContext.getCurrentInstance(); context.getApplication().subscribeToEvent(PostConstructApplicationEvent.class, Application.class, new PostConstructApplicationListener()); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#subscribeToEvent(Class, Class, javax.faces.event.SystemEventListener)} on the * wrapped {@link Application} object.</p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, sourceClass, listener); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#subscribeToEvent(Class, javax.faces.event.SystemEventListener)} on the * wrapped {@link Application} object.</p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, listener); }
public ClientWindowFactoryImpl() { super(null); FacesContext context = FacesContext.getCurrentInstance(); context.getApplication().subscribeToEvent(PostConstructApplicationEvent.class, Application.class, new PostConstructApplicationListener()); }
/** * <p class="changed_added_2_0"> * The default behavior of this method is to call * {@link Application#subscribeToEvent(Class, Class, javax.faces.event.SystemEventListener)} on * the wrapped {@link Application} object. * </p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, sourceClass, listener); }
/** * Subscribe the given system event listener to the current application that get invoked every time when the given * system event type is published in the current application. * @param type The system event type to be observed. * @param listener The system event listener to be subscribed. * @since 2.0 * @see Application#subscribeToEvent(Class, SystemEventListener) */ public static void subscribeToApplicationEvent(Class<? extends SystemEvent> type, SystemEventListener listener) { getApplication().subscribeToEvent(type, listener); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#subscribeToEvent(Class, Class, javax.faces.event.SystemEventListener)} on the * wrapped {@link Application} object.</p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, sourceClass, listener); }
@Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, sourceClass, listener); }
@Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, listener); }
@Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { delegate().subscribeToEvent(systemEventClass, sourceClass, listener); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#subscribeToEvent(Class, Class, javax.faces.event.SystemEventListener)} on the * wrapped {@link Application} object.</p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, sourceClass, listener); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#subscribeToEvent(Class, javax.faces.event.SystemEventListener)} on the * wrapped {@link Application} object.</p> */ @Override public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) { getWrapped().subscribeToEvent(systemEventClass, listener); }
public LifecycleImpl(FacesContext context) { ExternalContext extContext = context.getExternalContext(); config = WebConfiguration.getInstance(extContext); context.getApplication().subscribeToEvent(PostConstructApplicationEvent.class, Application.class, new PostConstructApplicationListener()); }
public LifecycleImpl(FacesContext context) { ExternalContext extContext = context.getExternalContext(); config = WebConfiguration.getInstance(extContext); context.getApplication().subscribeToEvent(PostConstructApplicationEvent.class, Application.class, new PostConstructApplicationListener()); }