Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2009
    Location
    Noida
    Posts
    26

    command line arguments passed to the JVM at startup

    Is it possible for an Adapter to receive command line arguments passed to the JVM (LS) at startup? Let me know if there is way to do the same.
    Pradeep Kr Chahal
    Software Designer
    Expertise in implementing Market Interface, Push technology, Publish-Subscribe Architecture
    pkumar.chahal@gmail.com
    http://www.pradeepchahal.com

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    Unless there is some hook provided by the JVM, this is not supported.
    You could achieve the same effect (that is: sending to the Adapters information supplied at launch time) by leveraging JVM properties.

    Such properties are set by -D<name>=<value> on the command line and inquiried through System.getProperty. This is available also from Adapter code.

 

 

Similar Threads

  1. Possible missing EOS command?
    By yoadsn in forum General
    Replies: 3
    Last Post: December 22nd, 2011, 01:14 PM
  2. Run code at startup
    By mve.autocom in forum General
    Replies: 1
    Last Post: November 12th, 2010, 10:04 AM
  3. command mode
    By Pradeep Chahal in forum Adapter SDKs
    Replies: 1
    Last Post: February 24th, 2010, 10:52 AM
  4. Need to use ADD command?
    By stephenallred in forum Client SDKs
    Replies: 2
    Last Post: February 4th, 2010, 12:24 PM
  5. Pass arguments from web page to adapter ??
    By mohamida in forum Adapter SDKs
    Replies: 6
    Last Post: November 12th, 2009, 04:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:21 PM.