Package com.sun.appserv.connectors.internal.spi

Examples of com.sun.appserv.connectors.internal.spi.ResourceDeployer.undeployResource()


        for (DataSourceDefinitionDescriptor dsd : env.getDataSourceDefinitionDescriptors()) {
            Collection<ResourceDeployer> resourceDeployers = habitat.getAllByContract(ResourceDeployer.class);
            try{
                if(dsd.isDeployed()){
                    ResourceDeployer deployer = getResourceDeployer(dsd, resourceDeployers);
                    deployer.undeployResource(dsd);
                    dsd.setDeployed(false);
                }
            }catch(Exception e){
                _logger.log(Level.WARNING, "unable to undeploy DataSourceDefinition [ " + dsd.getName() + " ] ", e);
            }
View Full Code Here


        for (DataSourceDefinitionDescriptor dsd : env.getDataSourceDefinitionDescriptors()) {
            Collection<ResourceDeployer> resourceDeployers = habitat.getAllByContract(ResourceDeployer.class);
            try{
                if(dsd.isDeployed()){
                    ResourceDeployer deployer = getResourceDeployer(dsd, resourceDeployers);
                    deployer.undeployResource(dsd);
                    dsd.setDeployed(false);
                }
            }catch(Exception e){
                _logger.log(Level.WARNING, "unable to undeploy DataSourceDefinition [ " + dsd.getName() + " ] ", e);
            }
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.