Package org.torquebox.core.runtime

Examples of org.torquebox.core.runtime.RuntimeRestartScanner


                .install() );
    }
   
    protected void addRuntimeRestartScannerService(final OperationContext context, ServiceVerificationHandler verificationHandler,
            List<ServiceController<?>> newControllers) throws IOException {
        RuntimeRestartScanner service = new RuntimeRestartScanner();
        newControllers.add( context.getServiceTarget().addService( CoreServices.RUNTIME_RESTART_SCANNER, service)
                .addListener( verificationHandler )
                .install() );
    }
View Full Code Here


        final RubyAppMetaData rubyAppMetaData = unit.getAttachment( RubyAppMetaData.ATTACHMENT_KEY );

        if (rubyAppMetaData == null) {
            return;
        }
        RuntimeRestartScanner scanner = getRuntimeRestartScanner( unit );
        scanner.addDeploymentUnit( unit );
    }
View Full Code Here

        scanner.addDeploymentUnit( unit );
    }

    @Override
    public void undeploy(DeploymentUnit unit) {
        RuntimeRestartScanner scanner = getRuntimeRestartScanner( unit );
        // During shutdown scanner may be removed before undeploy
        if (scanner != null) {
            scanner.removeDeploymentUnit( unit );
        }
    }
View Full Code Here

TOP

Related Classes of org.torquebox.core.runtime.RuntimeRestartScanner

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.