com.ibm.websphere.ant.tasks

Class endptEnabler

  • java.lang.Object
    • org.apache.tools.ant.ProjectComponent
      • org.apache.tools.ant.Task
        • com.ibm.ws.webservices.tools.ant.EndpointEnabler
          • com.ibm.websphere.ant.tasks.endptEnabler
  • All Implemented Interfaces:
    java.lang.Cloneable


    public class endptEnabler
    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>
    • Property Summary

      Properties 
      Type Property and Description
      com.ibm.ws.webservices.tools.ant.EndpointEnabler.Property create
      The Property information is embedded in a "property" element.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      class  endptEnabler.Property
      Used for nested property definitions.
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor and Description
      endptEnabler() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      com.ibm.ws.webservices.tools.ant.EndpointEnabler.Property createProperty()
      The Property information is embedded in a "property" element.
      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

        bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Property Detail

      • create

        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
    • Constructor Detail

      • endptEnabler

        public endptEnabler()
    • Method Detail

      • setEarfile

        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

        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
IBM WebSphere Application ServerTM
Release 8.5