Package org.jboss.as.server.deployment.scanner.api

Examples of org.jboss.as.server.deployment.scanner.api.DeploymentScanner


    /**
     * {@inheritDoc}
     */
    @Override
    public synchronized DeploymentScanner getValue() throws IllegalStateException {
        final DeploymentScanner scanner = this.scanner;
        if (scanner == null) {
            throw new IllegalStateException();
        }
        return scanner;
    }
View Full Code Here


            final HandbackHolder<DeploymentScanner> handbackHolder) throws OperationFailedException {

        final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR));
        final String name = address.getLastElement().getValue();
        final ServiceController<?> controller = context.getServiceRegistry(false).getService(DeploymentScannerService.getServiceName(name));
        DeploymentScanner scanner = null;
        if (controller == null) {
            throw new OperationFailedException(new ModelNode().set(MESSAGES.scannerNotConfigured()));
        } else {
            scanner = (DeploymentScanner) controller.getValue();
            updateScanner(scanner, newValue);
View Full Code Here

TOP

Related Classes of org.jboss.as.server.deployment.scanner.api.DeploymentScanner

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.