IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Obtaining config directory within a Java Service

    Posted Fri March 17, 2006 06:53 PM

    Description:
    I am in need to obtain the config directory of my package. I know of the ServerAPI.getPackageConfigDir method but this requires me to know my package name making my Java Service dependent on my package name.

    Question:
    Is there an API call to obtain the package name in which my Java Service resides, so I can use ServerAPI.getPackageConfigDir without hard coding the package name in code.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Obtaining config directory within a Java Service

    Posted Fri March 17, 2006 07:41 PM

    You may use the Service.getPackageName() to get the name of the package.

    Rohit


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: Obtaining config directory within a Java Service

    Posted Fri March 17, 2006 07:45 PM

    That’s what I needed. Thanks for the help…


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services