Examples of ShutdownListener


Examples of org.apache.isis.viewer.dnd.view.ShutdownListener

        super.init();

        new AwtImageFactory(IsisContext.getTemplateImageLoader());
        new AwtToolkit();

        setShutdownListener(new ShutdownListener() {
            @Override
            public void logOut() {
                DndViewer.this.logOut();
            }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.ShutdownListener

        super.init();

        new AwtImageFactory(IsisContext.getTemplateImageLoader());
        new AwtToolkit();

        setShutdownListener(new ShutdownListener() {
            @Override
            public void logOut() {
                DndViewer.this.logOut();
            }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.ShutdownListener

        super.init();

        new AwtImageFactory(IsisContext.getTemplateImageLoader());
        new AwtToolkit();

        setShutdownListener(new ShutdownListener() {
            @Override
            public void logOut() {
                DndViewer.this.logOut();
            }
View Full Code Here

Examples of org.mule.module.launcher.artifact.ShutdownListener

    {
        MuleLoggerContext context = (MuleLoggerContext) selector.getContext("", classLoader, true);

        ArgumentCaptor<ShutdownListener> captor = ArgumentCaptor.forClass(ShutdownListener.class);
        verify(classLoader).addShutdownListener(captor.capture());
        ShutdownListener listener = captor.getValue();
        assertThat(listener, notNullValue());

        assertThat(context, is(selector.getContext(EMPTY, classLoader, true)));
        listener.execute();

        assertThat(context, not(selector.getContext("", classLoader, true)));
    }
View Full Code Here

Examples of org.mule.module.launcher.artifact.ShutdownListener

        if (classLoader instanceof ArtifactClassLoader)
        {
            final ArtifactClassLoader artifactClassLoader = (ArtifactClassLoader) classLoader;

            artifactClassLoader.addShutdownListener(new ShutdownListener()
            {
                @Override
                public void execute()
                {
                    destroyLoggersFor(classLoader);
View Full Code Here

Examples of whitewerx.com.trapos.ShutdownListener

     *
     * @param bootstrap
     * @param gatewayShutdownListener
     */
    private void configureTextMessageProcessingPipeline(ServerBootstrap bootstrap) {
        final ShutdownListener gatewayShutdownListener = this;
        bootstrap.setPipelineFactory(new ChannelPipelineFactory() {

            public ChannelPipeline getPipeline() throws Exception {
                ChannelPipeline pipeline = Channels.pipeline();

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.