Package org.qi4j.api.activation

Examples of org.qi4j.api.activation.ActivationEventListener


            }

            @Override
            public void beforeActivation( Application application )
            {
                application.registerActivationEventListener( new ActivationEventListener()
                {

                    @Override
                    public void onEvent( ActivationEvent event )
                    {
View Full Code Here


        dataDirectories.add( fileConfig.configurationDirectory() );
        dataDirectories.add( fileConfig.cacheDirectory() );
        dataDirectories.add( fileConfig.dataDirectory() );
        dataDirectories.add( fileConfig.logDirectory() );
        dataDirectories.add( fileConfig.temporaryDirectory() );
        application.registerActivationEventListener( new ActivationEventListener()
        {
            @Override
            public void onEvent( ActivationEvent event )
            {
                if( event.type() == ActivationEvent.EventType.PASSIVATED && Application.class.isAssignableFrom( event.source().getClass() ) )
View Full Code Here

TOP

Related Classes of org.qi4j.api.activation.ActivationEventListener

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.