title: Defining and reading custom property in a Liferay's hook
body: <p>I need to define some custom properties in an hook (e.g. <code>myhookname.myproperty</code>) and read them in my hook Java classes.</p>
  
  <p>I know I can't create a custom property file (because it will be deploied in the hook's webapps dir, but hook will "live" in the ROOT context)... so the only idea seems to add new properties in portal-ext...
  But, in this way, the hook deploy can't be consistent (because it needs for a modification of portal-ext).</p>
  
  <p>What is the Liferay way to do this?
  Do you have other idea to achieve my needs?</p>
  
  <p>Thanks</p>