com.ibm.websphere.ant.tasks

Class endptEnabler

  1. java.lang.Object
  2. extended byorg.apache.tools.ant.ProjectComponent
  3. extended byorg.apache.tools.ant.Task
  4. extended bycom.ibm.ws.webservices.tools.ant.EndpointEnabler
  5. extended bycom.ibm.websphere.ant.tasks.endptEnabler

  1. public class endptEnabler
  2. extends com.ibm.ws.webservices.tools.ant.EndpointEnabler
The endptEnabler task enables a set of web services within an Enterprise Application Archive (EAR) file. For each web service-enabled EJB JAR in the EAR file, it adds one or more router modules to the EAR. The structure of the endptEnabler task is shown below: <taskdef name="EndpointEnablerTask" classname="com.ibm.websphere.ant.tasks.endptenabler"> classpath="location of installed websphere classes"> </taskdef> <endpointenablertask earfile="location of input EAR file"> <property key="property name" value="property value"/> <property key="another property name" value="another property value"/> </endpointenablertask>

Nested Class Summary

Modifier and Type Class and Description
  1. class
endptEnabler.Property
Used for nested property definitions.

Field Summary

Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
project

Constructor Summary

Constructor and Description
endptEnabler()

Method Summary

Modifier and Type Method and Description
  1. com.ibm.ws.webservices.tools.ant.EndpointEnabler.Property
createProperty()
The Property information is embedded in a "property" element.
  1. void
setEarfile(java.lang.String earfile)
This method accepts a string containing the name of the EAR to be modified.
Methods inherited from class com.ibm.ws.webservices.tools.ant.EndpointEnabler
execute
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

endptEnabler

  1. public endptEnabler()

Method Detail

setEarfile

  1. public void setEarfile(java.lang.String earfile)
This method accepts a string containing the name of the EAR to be modified.
Overrides:
setEarfile in class com.ibm.ws.webservices.tools.ant.EndpointEnabler
Parameters:
earfile - A string containing the EAR name

createProperty

  1. public com.ibm.ws.webservices.tools.ant.EndpointEnabler.Property createProperty( )
The Property information is embedded in a "property" element. Elements have create methods. Note that the Property class has "key" and "value" attributes. These are some examples of properties that can be passed in as key and value attributes: key value ------- ------------------ verbose false http.routerModuleNameSuffix HTTPRouter StockQuoteEJB.transports http,jms StockQuoteEJB.http.routerModuleName StockQuoteEJB_HTTPRouter.war StockQuoteEJB.http.contextRoot /StockQuoteEJB StockQuoteEJB.jms.routerModuleName StockQuoteEJB_JMSRouter.jar StockQuoteEJB.jms.listenerInputPortName StockQuoteEJB_ListenerPort StockQuoteEJB.jms.destinationType topic
Overrides:
createProperty in class com.ibm.ws.webservices.tools.ant.EndpointEnabler
Returns:
A Property object