/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.netbeans.modules.websvc.design.javamodel;

import java.util.Collection;
import java.util.Collections;

import org.netbeans.modules.websvc.design.configuration.WSConfiguration;
import org.netbeans.modules.websvc.jaxws.light.api.JAXWSLightSupport;
import org.netbeans.modules.websvc.jaxws.light.api.JaxWsService;
import org.openide.loaders.DataObject;


/**
 * @author ads
 *
 */
class LightProjectService implements ProjectService {

    LightProjectService( JAXWSLightSupport support, JaxWsService service, 
            DataObject dataObject )
    {
        this.support = support;
        this.service = service;
        this.dataObject = dataObject;
    }
    
    /* (non-Javadoc)
     * @see org.netbeans.modules.websvc.design.javamodel.ProjectService#cleanup()
     */
    @Override
    public void cleanup() {
        // TODO Auto-generated method stub
        
    }
    
    /* (non-Javadoc)
     * @see org.netbeans.modules.websvc.design.javamodel.ProjectService#getConfigurations()
     */
    @Override
    public Collection<WSConfiguration> getConfigurations() {
        return Collections.emptyList();
    }
    
    /* (non-Javadoc)
     * @see org.netbeans.modules.websvc.design.javamodel.ProjectService#getWsdlUrl()
     */
    @Override
    public String getWsdlUrl() {
        return service.getWsdlUrl();
    }
    
    /* (non-Javadoc)
     * @see org.netbeans.modules.websvc.design.javamodel.ProjectService#getImplementationClass()
     */
    @Override
    public String getImplementationClass() {
        return service.getImplementationClass();
    }
    
    /* (non-Javadoc)
     * @see org.netbeans.modules.websvc.design.javamodel.ProjectService#getLocalWsdlFile()
     */
    @Override
    public String getLocalWsdlFile() {
        return service.getLocalWsdl();
    }
    
    private final JAXWSLightSupport support;
    private final JaxWsService service;
    private final DataObject dataObject;
    
}
