| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:56:43 PDT 2006 --> |
| <TITLE> |
| AxisProperties (Axis API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.axis.AxisProperties class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="AxisProperties (Axis API)"; |
| } |
| </SCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AxisProperties.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../org/apache/axis/AxisEngine.html" title="class in org.apache.axis"><B>PREV CLASS</B></A> |
| <A HREF="../../../org/apache/axis/AxisServiceConfigImpl.html" title="class in org.apache.axis"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AxisProperties.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.axis</FONT> |
| <BR> |
| Class AxisProperties</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.AxisProperties</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT>public class <B>AxisProperties</B><DT>extends java.lang.Object</DL> |
| |
| <P> |
| <p>Configuration properties for AXIS. |
| </p> |
| |
| <p>Manage configuration properties according to a secure |
| scheme similar to that used by classloaders: |
| <ul> |
| <li><code>ClassLoader</code>s are organized in a tree hierarchy.</li> |
| <li>each <code>ClassLoader</code> has a reference |
| to a parent <code>ClassLoader</code>.</li> |
| <li>the root of the tree is the bootstrap <code>ClassLoader</code>er.</li> |
| <li>the youngest decendent is the thread context class loader.</li> |
| <li>properties are bound to a <code>ClassLoader</code> instance |
| <ul> |
| <li><i>non-default</i> properties bound to a parent <code>ClassLoader</code> |
| instance take precedence over all properties of the same name bound |
| to any decendent. |
| Just to confuse the issue, this is the default case.</li> |
| <li><i>default</i> properties bound to a parent <code>ClassLoader</code> |
| instance may be overriden by (default or non-default) properties of |
| the same name bound to any decendent. |
| </li> |
| </ul> |
| </li> |
| <li>System properties take precedence over all other properties</li> |
| </ul> |
| </p> |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Richard A. Sitze</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#log">log</A></B></CODE> |
| |
| <BR> |
| The <code>Log</code> for all interesting events in this class.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#AxisProperties()">AxisProperties</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.commons.discovery.ResourceNameDiscover</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#getNameDiscoverer()">getNameDiscoverer</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.util.Properties</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#getProperties()">getProperties</A></B>()</CODE> |
| |
| <BR> |
| This is an expensive operation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String propertyName)</CODE> |
| |
| <BR> |
| Get value for property bound to the current thread context class loader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#getProperty(java.lang.String, java.lang.String)">getProperty</A></B>(java.lang.String propertyName, |
| java.lang.String dephault)</CODE> |
| |
| <BR> |
| Get value for property bound to the current thread context class loader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.apache.commons.discovery.ResourceClassIterator</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#getResourceClassIterator(java.lang.Class)">getResourceClassIterator</A></B>(java.lang.Class spi)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#newInstance(java.lang.Class)">newInstance</A></B>(java.lang.Class spiClass)</CODE> |
| |
| <BR> |
| Create a new instance of a service provider class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#newInstance(java.lang.Class, java.lang.Class)">newInstance</A></B>(java.lang.Class spiClass, |
| java.lang.Class defaultClass)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#newInstance(java.lang.Class, java.lang.Class[], java.lang.Object[])">newInstance</A></B>(java.lang.Class spiClass, |
| java.lang.Class[] constructorParamTypes, |
| java.lang.Object[] constructorParams)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.util.Enumeration</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#propertyNames()">propertyNames</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#setClassDefault(java.lang.Class, java.lang.String)">setClassDefault</A></B>(java.lang.Class clazz, |
| java.lang.String defaultName)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#setClassDefaults(java.lang.Class, java.lang.String[])">setClassDefaults</A></B>(java.lang.Class clazz, |
| java.lang.String[] defaultNames)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#setClassOverrideProperty(java.lang.Class, java.lang.String)">setClassOverrideProperty</A></B>(java.lang.Class clazz, |
| java.lang.String propertyName)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#setProperties(java.util.Map)">setProperties</A></B>(java.util.Map newProperties)</CODE> |
| |
| <BR> |
| Set property values for <code>Properties</code> bound to the |
| current thread context class loader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#setProperties(java.util.Map, boolean)">setProperties</A></B>(java.util.Map newProperties, |
| boolean isDefault)</CODE> |
| |
| <BR> |
| Set property values for <code>Properties</code> bound to the |
| current thread context class loader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></B>(java.lang.String propertyName, |
| java.lang.String value)</CODE> |
| |
| <BR> |
| Set value for property bound to the current thread context class loader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis/AxisProperties.html#setProperty(java.lang.String, java.lang.String, boolean)">setProperty</A></B>(java.lang.String propertyName, |
| java.lang.String value, |
| boolean isDefault)</CODE> |
| |
| <BR> |
| Set value for property bound to the current thread context class loader.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class java.lang.Object</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="log"><!-- --></A><H3> |
| log</H3> |
| <PRE> |
| protected static org.apache.commons.logging.Log <B>log</B></PRE> |
| <DL> |
| <DD>The <code>Log</code> for all interesting events in this class. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="AxisProperties()"><!-- --></A><H3> |
| AxisProperties</H3> |
| <PRE> |
| public <B>AxisProperties</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="setClassOverrideProperty(java.lang.Class, java.lang.String)"><!-- --></A><H3> |
| setClassOverrideProperty</H3> |
| <PRE> |
| public static void <B>setClassOverrideProperty</B>(java.lang.Class clazz, |
| java.lang.String propertyName)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setClassDefault(java.lang.Class, java.lang.String)"><!-- --></A><H3> |
| setClassDefault</H3> |
| <PRE> |
| public static void <B>setClassDefault</B>(java.lang.Class clazz, |
| java.lang.String defaultName)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setClassDefaults(java.lang.Class, java.lang.String[])"><!-- --></A><H3> |
| setClassDefaults</H3> |
| <PRE> |
| public static void <B>setClassDefaults</B>(java.lang.Class clazz, |
| java.lang.String[] defaultNames)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNameDiscoverer()"><!-- --></A><H3> |
| getNameDiscoverer</H3> |
| <PRE> |
| public static org.apache.commons.discovery.ResourceNameDiscover <B>getNameDiscoverer</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getResourceClassIterator(java.lang.Class)"><!-- --></A><H3> |
| getResourceClassIterator</H3> |
| <PRE> |
| public static org.apache.commons.discovery.ResourceClassIterator <B>getResourceClassIterator</B>(java.lang.Class spi)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInstance(java.lang.Class)"><!-- --></A><H3> |
| newInstance</H3> |
| <PRE> |
| public static java.lang.Object <B>newInstance</B>(java.lang.Class spiClass)</PRE> |
| <DL> |
| <DD>Create a new instance of a service provider class. |
| |
| !WARNING! |
| SECURITY issue. |
| |
| See bug 11874 |
| |
| The solution to both is to move doPrivilege UP within AXIS to a |
| class that is either private (cannot be reached by code outside |
| AXIS) or that represents a secure public interface... |
| |
| This is going to require analysis and (probably) rearchitecting. |
| So, I'm taking taking the easy way out until we are at a point |
| where we can reasonably rearchitect for security. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>spiClass</CODE> - the service provider class to instantiate |
| <DT><B>Returns:</B><DD>a new instance of this class</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInstance(java.lang.Class, java.lang.Class[], java.lang.Object[])"><!-- --></A><H3> |
| newInstance</H3> |
| <PRE> |
| public static java.lang.Object <B>newInstance</B>(java.lang.Class spiClass, |
| java.lang.Class[] constructorParamTypes, |
| java.lang.Object[] constructorParams)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getProperty(java.lang.String)"><!-- --></A><H3> |
| getProperty</H3> |
| <PRE> |
| public static java.lang.String <B>getProperty</B>(java.lang.String propertyName)</PRE> |
| <DL> |
| <DD>Get value for property bound to the current thread context class loader. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - property name. |
| <DT><B>Returns:</B><DD>property value if found, otherwise default.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getProperty(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| getProperty</H3> |
| <PRE> |
| public static java.lang.String <B>getProperty</B>(java.lang.String propertyName, |
| java.lang.String dephault)</PRE> |
| <DL> |
| <DD>Get value for property bound to the current thread context class loader. |
| If not found, then return default. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - property name.<DD><CODE>dephault</CODE> - default value. |
| <DT><B>Returns:</B><DD>property value if found, otherwise default.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setProperty(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| setProperty</H3> |
| <PRE> |
| public static void <B>setProperty</B>(java.lang.String propertyName, |
| java.lang.String value)</PRE> |
| <DL> |
| <DD>Set value for property bound to the current thread context class loader. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - property name<DD><CODE>value</CODE> - property value (non-default) If null, remove the property.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setProperty(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3> |
| setProperty</H3> |
| <PRE> |
| public static void <B>setProperty</B>(java.lang.String propertyName, |
| java.lang.String value, |
| boolean isDefault)</PRE> |
| <DL> |
| <DD>Set value for property bound to the current thread context class loader. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - property name<DD><CODE>value</CODE> - property value. If null, remove the property.<DD><CODE>isDefault</CODE> - determines if property is default or not. |
| A non-default property cannot be overriden. |
| A default property can be overriden by a property |
| (default or non-default) of the same name bound to |
| a decendent class loader.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setProperties(java.util.Map)"><!-- --></A><H3> |
| setProperties</H3> |
| <PRE> |
| public static void <B>setProperties</B>(java.util.Map newProperties)</PRE> |
| <DL> |
| <DD>Set property values for <code>Properties</code> bound to the |
| current thread context class loader. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newProperties</CODE> - name/value pairs to be bound</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setProperties(java.util.Map, boolean)"><!-- --></A><H3> |
| setProperties</H3> |
| <PRE> |
| public static void <B>setProperties</B>(java.util.Map newProperties, |
| boolean isDefault)</PRE> |
| <DL> |
| <DD>Set property values for <code>Properties</code> bound to the |
| current thread context class loader. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>newProperties</CODE> - name/value pairs to be bound<DD><CODE>isDefault</CODE> - determines if properties are default or not. |
| A non-default property cannot be overriden. |
| A default property can be overriden by a property |
| (default or non-default) of the same name bound to |
| a decendent class loader.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="propertyNames()"><!-- --></A><H3> |
| propertyNames</H3> |
| <PRE> |
| public static java.util.Enumeration <B>propertyNames</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getProperties()"><!-- --></A><H3> |
| getProperties</H3> |
| <PRE> |
| public static java.util.Properties <B>getProperties</B>()</PRE> |
| <DL> |
| <DD>This is an expensive operation. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>Returns a <code>java.util.Properties</code> instance |
| that is equivalent to the current state of the scoped |
| properties, in that getProperty() will return the same value. |
| However, this is a copy, so setProperty on the |
| returned value will not effect the scoped properties.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newInstance(java.lang.Class, java.lang.Class)"><!-- --></A><H3> |
| newInstance</H3> |
| <PRE> |
| public static java.lang.Object <B>newInstance</B>(java.lang.Class spiClass, |
| java.lang.Class defaultClass)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AxisProperties.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../org/apache/axis/AxisEngine.html" title="class in org.apache.axis"><B>PREV CLASS</B></A> |
| <A HREF="../../../org/apache/axis/AxisServiceConfigImpl.html" title="class in org.apache.axis"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AxisProperties.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| </BODY> |
| </HTML> |