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).


Constructor Summary
PropertyManager()
           
 
Method Summary
static SandeshaPolicyBean loadPropertiesFromAxisDescription(org.apache.axis2.description.AxisDescription desc, SandeshaPolicyBean parentPropertyBean)
           
static SandeshaPolicyBean loadPropertiesFromDefaultValues()
           
static SandeshaPolicyBean loadPropertiesFromModuleDesc(org.apache.axis2.description.AxisModule desc)
           
static SandeshaPolicyBean loadPropertiesFromModuleDescPolicy(org.apache.axis2.description.AxisModule desc, SandeshaPolicyBean parentPropertyBean)
           
static SandeshaPolicyBean 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 SandeshaPolicyBean loadPropertiesFromDefaultValues()
                                                          throws SandeshaException
Throws:
SandeshaException

loadPropertiesFromPropertyFile

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

loadPropertiesFromModuleDesc

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

loadPropertiesFromModuleDescPolicy

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

loadPropertiesFromAxisDescription

public static SandeshaPolicyBean loadPropertiesFromAxisDescription(org.apache.axis2.description.AxisDescription desc,
                                                                   SandeshaPolicyBean 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.