public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass,
                    SystemEventListener listener)
    {
        Application application = getMyfacesApplicationInstance();
        if (application != null)
        {
            application.subscribeToEvent(systemEventClass, sourceClass, listener);
            return;
        }
        throw new UnsupportedOperationException();
    }
public void subscribeToEvent ( Class < ? extends SystemEvent > systemEventClass , Class < ? > sourceClass , SystemEventListener listener ) { Application application = getMyfacesApplicationInstance ( ) ; if ( application != null ) { application . subscribeToEvent ( systemEventClass , sourceClass , listener ) ; return ; } throw new UnsupportedOperationException ( ) ; }
@param systemEventClass
@param sourceClass
@param listener

@since 2.0