Package org.andromda.maven.plugin

Source Code of org.andromda.maven.plugin.AndroMDAServerStopMojo

package org.andromda.maven.plugin;

import org.andromda.core.AndroMDAServer;
import org.andromda.core.configuration.Configuration;


/**
* Provides the ability to stop the AndroMDA server.
*
* @author Chad Brandon
* @goal stop-server
* @requiresProject false
* @requiresDependencyResolution runtime
*/
public class AndroMDAServerStopMojo
    extends AbstractAndroMDAMojo
{
    /**
     * @see org.andromda.maven.plugin.AbstractAndroMDAMojo#execute(org.andromda.core.configuration.Configuration)
     */
    public void execute(final Configuration configuration)
    {
        final AndroMDAServer server = AndroMDAServer.newInstance();
        server.stop(configuration);
    }

}
TOP

Related Classes of org.andromda.maven.plugin.AndroMDAServerStopMojo

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.