org.codehaus.mojo.weblogic.Service Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weblogic-maven-plugin Show documentation
Show all versions of weblogic-maven-plugin Show documentation
This plugin will support various tasks within the Weblogic 8.1,
9.x, 10.x and 12.x environment. This version starts to support weblogic 10 and
11. The mojo supports such tasks as deploy,
undeploy,clientgen,servicegen, and appc are supported as well as
many others. The plugin uses exposed API's that are subject to
change but have been tested in 8.1 SP 4-6 and 9.0 - 9.2 MP3, 10.x.
There are two versions of the plugin to support the two
environments based on differences in the JDK. The 9.x version is
currently being refactored to support the standard JSR supported
deployment interface. The code used in the plugin has been
contributed to the Cargo project however to date has not be
integrated into the codebase. Please feel free to suggest
improvements or help support this plugin effort.
The newest version!
package org.codehaus.mojo.weblogic;
/*
* Copyright 2008 The Apache Software Foundation.
*
* Licensed 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.
*/
/**
* This class represents a service to be generated by the JwscMojo.
*
* @author Jon Osborn
* @see org.codehaus.mojo.weblogic.JwscMojo
*/
public class Service
{
/**
* The ejb jar file name
*
* @required
*/
private String ejbJar;
/**
* Should methods be expanded
*
* @parameter
*/
private boolean expandMethods = true;
/**
* Should types be generated
*
* @parameter
*/
private boolean generateTypes = true;
/**
* list of ejbs to generate
*
* @required
*/
private String includeEJBs;
/**
* The target namespace for the service
*
* @parameter
* @required
*/
private String targetNamespace;
/**
* The service name to generate
*
* @parameter
* @required
*/
private String serviceName;
/**
* The service uri to generate the service to
*
* @parameter
* @required
*/
private String serviceUri;
public String getServiceUri()
{
return serviceUri;
}
public void setServiceUri( String serviceUri )
{
this.serviceUri = serviceUri;
}
public String getServiceName()
{
return serviceName;
}
public void setServiceName( String serviceName )
{
this.serviceName = serviceName;
}
public Service()
{
super();
}
public String getEjbJar()
{
return ejbJar;
}
public String getIncludeEJBs()
{
return includeEJBs;
}
public String getTargetNamespace()
{
return targetNamespace;
}
public boolean isExpandMethods()
{
return expandMethods;
}
public boolean isGenerateTypes()
{
return generateTypes;
}
public void setEjbJar( String ejbJar )
{
this.ejbJar = ejbJar;
}
public void setExpandMethods( boolean expandMethods )
{
this.expandMethods = expandMethods;
}
public void setGenerateTypes( boolean generateTypes )
{
this.generateTypes = generateTypes;
}
public void setIncludeEJBs( String includeEJBs )
{
this.includeEJBs = includeEJBs;
}
public void setTargetNamespace( String targetNamespace )
{
this.targetNamespace = targetNamespace;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy