Examples of RuntimeRestartScanner


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

Examples of org.torquebox.core.runtime.RuntimeRestartScanner

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

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

Examples of org.torquebox.core.runtime.RuntimeRestartScanner

        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
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.