org.apache.sandesha2.util
Class PropertyManager

java.lang.Object
  extended byorg.apache.sandesha2.util.PropertyManager

public class PropertyManager
extends java.lang.Object

Loads properties from sandesha2.properties file (from Sandesha2Constants if this is not available).

Author:
Chamikara Jayalath

Constructor Summary
PropertyManager()
           
 
Method Summary
static SandeshaPropertyBean loadPropertiesFromAxisDescription(org.apache.axis2.description.AxisDescription desc, SandeshaPropertyBean parentPropertyBean)
           
static SandeshaPropertyBean loadPropertiesFromDefaultValues()
           
static SandeshaPropertyBean loadPropertiesFromModuleDesc(org.apache.axis2.description.AxisModule desc)
           
static SandeshaPropertyBean loadPropertiesFromModuleDescPolicy(org.apache.axis2.description.AxisModule desc, SandeshaPropertyBean parentPropertyBean)
           
static SandeshaPropertyBean loadPropertiesFromPropertyFile(java.io.InputStream in)
           
static void reloadFromPropertyFile(java.io.InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyManager

public PropertyManager()
Method Detail

loadPropertiesFromDefaultValues

public static SandeshaPropertyBean loadPropertiesFromDefaultValues()
                                                            throws SandeshaException
Throws:
SandeshaException

loadPropertiesFromPropertyFile

public static SandeshaPropertyBean loadPropertiesFromPropertyFile(java.io.InputStream in)
                                                           throws SandeshaException
Throws:
SandeshaException

loadPropertiesFromModuleDesc

public static SandeshaPropertyBean loadPropertiesFromModuleDesc(org.apache.axis2.description.AxisModule desc)
                                                         throws SandeshaException
Throws:
SandeshaException

loadPropertiesFromModuleDescPolicy

public static SandeshaPropertyBean loadPropertiesFromModuleDescPolicy(org.apache.axis2.description.AxisModule desc,
                                                                      SandeshaPropertyBean parentPropertyBean)
                                                               throws SandeshaException
Throws:
SandeshaException

loadPropertiesFromAxisDescription

public static SandeshaPropertyBean loadPropertiesFromAxisDescription(org.apache.axis2.description.AxisDescription desc,
                                                                     SandeshaPropertyBean parentPropertyBean)
                                                              throws SandeshaException
Throws:
SandeshaException

reloadFromPropertyFile

public static void reloadFromPropertyFile(java.io.InputStream stream)
                                   throws SandeshaException
Throws:
SandeshaException


Copyright © 2005-2006 Apache Web Services. All Rights Reserved.