title: How to print Worklight properties using Java
body: <p>We are trying to get All the properties inside the Worklight server using Java code running on the server.</p>
  
  <p>Worklight Version 6.2.0.1</p>
  
  <p>Based on the following URL:</p>
  
  <p><a href="https://www-01.ibm.com/support/knowledgecenter/?lang=en#!/SSZH4A_6.2.0/com.ibm.worklight.apiref.doc/html/refjava-worklight-server/html/com/worklight/server/bundle/api/WorklightConfiguration.html" rel="nofollow noreferrer">https://www-01.ibm.com/support/knowledgecenter/?lang=en#!/SSZH4A_6.2.0/com.ibm.worklight.apiref.doc/html/refjava-worklight-server/html/com/worklight/server/bundle/api/WorklightConfiguration.html</a></p>
  
  <p>I'm trying to use getAllProperties() API. However, I'm not getting it inside the code:</p>
  
  <p>I imported <code>java.util.Properties;</code></p>
  
  <pre><code>try{
       Properties p = new Properties();
       p.getAllProperties(); // This doesn't exist
       .
       .
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/JWUuw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JWUuw.png" alt="enter image description here"></a></p>
  
  <p>Am I doing it wrong or missing something.? How can I read all the properties inside Worklight based on IBM URL mentioned above?</p>