| <!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.5.0_15) on Wed Aug 06 14:58:05 GMT-06:00 2008 --> |
| <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <TITLE> |
| Configuration (OpenJPA 1.2.0 API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.openjpa.lib.conf.Configuration interface"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="Configuration (OpenJPA 1.2.0 API)"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </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=2 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/Configuration.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/openjpa/lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/openjpa/lib/conf/ConfigurationImpl.html" title="class in org.apache.openjpa.lib.conf"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/openjpa/lib/conf/Configuration.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Configuration.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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.openjpa.lib.conf</FONT> |
| <BR> |
| Interface Configuration</H2> |
| <DL> |
| <DT><B>All Superinterfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html" title="class or interface in java.beans">BeanInfo</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A>, <A HREF="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD> |
| </DL> |
| <DL> |
| <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../../org/apache/openjpa/slice/DistributedConfiguration.html" title="interface in org.apache.openjpa.slice">DistributedConfiguration</A>, <A HREF="../../../../../org/apache/openjpa/slice/jdbc/DistributedJDBCConfiguration.html" title="interface in org.apache.openjpa.slice.jdbc">DistributedJDBCConfiguration</A>, <A HREF="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</A>, <A HREF="../../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</A></DD> |
| </DL> |
| <DL> |
| <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/openjpa/lib/conf/ConfigurationImpl.html" title="class in org.apache.openjpa.lib.conf">ConfigurationImpl</A>, <A HREF="../../../../../org/apache/openjpa/slice/jdbc/DistributedJDBCConfigurationImpl.html" title="class in org.apache.openjpa.slice.jdbc">DistributedJDBCConfigurationImpl</A>, <A HREF="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfigurationImpl.html" title="class in org.apache.openjpa.jdbc.conf">JDBCConfigurationImpl</A>, <A HREF="../../../../../org/apache/openjpa/conf/OpenJPAConfigurationImpl.html" title="class in org.apache.openjpa.conf">OpenJPAConfigurationImpl</A>, <A HREF="../../../../../org/apache/openjpa/xmlstore/XMLConfiguration.html" title="class in org.apache.openjpa.xmlstore">XMLConfiguration</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>Configuration</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html" title="class or interface in java.beans">BeanInfo</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A></DL> |
| </PRE> |
| |
| <P> |
| Interface for generic configuration objects. Includes the ability |
| to write configuration to and from <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html" title="class or interface in java.util"><CODE>Properties</CODE></A> instances. Instances |
| are threadsafe for reads, but not for writes. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Marc Prud'hommeaux, Abe White</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#ATTRIBUTE_ALLOWED_VALUES">ATTRIBUTE_ALLOWED_VALUES</A></B></CODE> |
| |
| <BR> |
| Attribute of returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors listing |
| recognized values for the property.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#ATTRIBUTE_CATEGORY">ATTRIBUTE_CATEGORY</A></B></CODE> |
| |
| <BR> |
| Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property' hierarchical category.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#ATTRIBUTE_INTERFACE">ATTRIBUTE_INTERFACE</A></B></CODE> |
| |
| <BR> |
| Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the interface that plugin values for this property must implement.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#ATTRIBUTE_ORDER">ATTRIBUTE_ORDER</A></B></CODE> |
| |
| <BR> |
| Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property's ordering in its category.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#ATTRIBUTE_TYPE">ATTRIBUTE_TYPE</A></B></CODE> |
| |
| <BR> |
| Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property's type or category.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#ATTRIBUTE_XML">ATTRIBUTE_XML</A></B></CODE> |
| |
| <BR> |
| Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property's name in XML format (i.e.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#INIT_STATE_FREEZING">INIT_STATE_FREEZING</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#INIT_STATE_FROZEN">INIT_STATE_FROZEN</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#INIT_STATE_LIQUID">INIT_STATE_LIQUID</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_java.beans.BeanInfo"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface java.beans.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html" title="class or interface in java.beans">BeanInfo</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#ICON_COLOR_16x16" title="class or interface in java.beans">ICON_COLOR_16x16</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#ICON_COLOR_32x32" title="class or interface in java.beans">ICON_COLOR_32x32</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#ICON_MONO_16x16" title="class or interface in java.beans">ICON_MONO_16x16</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#ICON_MONO_32x32" title="class or interface in java.beans">ICON_MONO_32x32</A></CODE></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"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans">PropertyChangeListener</A> listener)</CODE> |
| |
| <BR> |
| Adds a listener for any property changes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#addValue(org.apache.openjpa.lib.conf.Value)">addValue</A></B>(<A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A> val)</CODE> |
| |
| <BR> |
| Add the given value to the set of configuration properties.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#clone()">clone</A></B>()</CODE> |
| |
| <BR> |
| Return a copy of this configuration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#close()">close</A></B>()</CODE> |
| |
| <BR> |
| Free the resources used by this object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#fromProperties(java.util.Map)">fromProperties</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> map)</CODE> |
| |
| <BR> |
| Set this Configuration via the given map.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/openjpa/lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getConfigurationLog()">getConfigurationLog</A></B>()</CODE> |
| |
| <BR> |
| Return the log to use for configuration messages.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getId()">getId</A></B>()</CODE> |
| |
| <BR> |
| An environment-specific identifier for this configuration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getLog()">getLog</A></B>()</CODE> |
| |
| <BR> |
| Log plugin setting.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/openjpa/lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getLog(java.lang.String)">getLog</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> category)</CODE> |
| |
| <BR> |
| Return the log for the given category.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/openjpa/lib/log/LogFactory.html" title="interface in org.apache.openjpa.lib.log">LogFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getLogFactory()">getLogFactory</A></B>()</CODE> |
| |
| <BR> |
| The log factory.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getProductName()">getProductName</A></B>()</CODE> |
| |
| <BR> |
| Return the product name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getValue(java.lang.String)">getValue</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property)</CODE> |
| |
| <BR> |
| Return the <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> for the given property, or null if none.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getValues()">getValues</A></B>()</CODE> |
| |
| <BR> |
| Return the set of all <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A>s.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#instantiateAll()">instantiateAll</A></B>()</CODE> |
| |
| <BR> |
| Call the instantiating get methods for all values.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#isReadOnly()">isReadOnly</A></B>()</CODE> |
| |
| <BR> |
| Return true if this configuration is immutable.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans">PropertyChangeListener</A> listener)</CODE> |
| |
| <BR> |
| Removes a listener for any property changes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#removeValue(org.apache.openjpa.lib.conf.Value)">removeValue</A></B>(<A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A> val)</CODE> |
| |
| <BR> |
| Remove the given value from the set of configuration properties.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#setId(java.lang.String)">setId</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> id)</CODE> |
| |
| <BR> |
| An environment-specific identifier for this configuration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#setLog(java.lang.String)">setLog</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> log)</CODE> |
| |
| <BR> |
| Log plugin setting.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#setLogFactory(org.apache.openjpa.lib.log.LogFactory)">setLogFactory</A></B>(<A HREF="../../../../../org/apache/openjpa/lib/log/LogFactory.html" title="interface in org.apache.openjpa.lib.log">LogFactory</A> factory)</CODE> |
| |
| <BR> |
| The log factory.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#setProductName(java.lang.String)">setProductName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Set the product name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#setReadOnly(int)">setReadOnly</A></B>(int readOnly)</CODE> |
| |
| <BR> |
| Lock down the configuration's state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#toProperties(boolean)">toProperties</A></B>(boolean storeDefaults)</CODE> |
| |
| <BR> |
| A properties representation of this Configuration.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.beans.BeanInfo"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface java.beans.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html" title="class or interface in java.beans">BeanInfo</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getAdditionalBeanInfo()" title="class or interface in java.beans">getAdditionalBeanInfo</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getBeanDescriptor()" title="class or interface in java.beans">getBeanDescriptor</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getDefaultEventIndex()" title="class or interface in java.beans">getDefaultEventIndex</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getDefaultPropertyIndex()" title="class or interface in java.beans">getDefaultPropertyIndex</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getEventSetDescriptors()" title="class or interface in java.beans">getEventSetDescriptors</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getIcon(int)" title="class or interface in java.beans">getIcon</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getMethodDescriptors()" title="class or interface in java.beans">getMethodDescriptors</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/BeanInfo.html#getPropertyDescriptors()" title="class or interface in java.beans">getPropertyDescriptors</A></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"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="ATTRIBUTE_ALLOWED_VALUES"><!-- --></A><H3> |
| ATTRIBUTE_ALLOWED_VALUES</H3> |
| <PRE> |
| static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>ATTRIBUTE_ALLOWED_VALUES</B></PRE> |
| <DL> |
| <DD>Attribute of returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors listing |
| recognized values for the property. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.ATTRIBUTE_ALLOWED_VALUES">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ATTRIBUTE_TYPE"><!-- --></A><H3> |
| ATTRIBUTE_TYPE</H3> |
| <PRE> |
| static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>ATTRIBUTE_TYPE</B></PRE> |
| <DL> |
| <DD>Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property's type or category. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.ATTRIBUTE_TYPE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ATTRIBUTE_CATEGORY"><!-- --></A><H3> |
| ATTRIBUTE_CATEGORY</H3> |
| <PRE> |
| static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>ATTRIBUTE_CATEGORY</B></PRE> |
| <DL> |
| <DD>Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property' hierarchical category. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.ATTRIBUTE_CATEGORY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ATTRIBUTE_ORDER"><!-- --></A><H3> |
| ATTRIBUTE_ORDER</H3> |
| <PRE> |
| static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>ATTRIBUTE_ORDER</B></PRE> |
| <DL> |
| <DD>Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property's ordering in its category. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.ATTRIBUTE_ORDER">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ATTRIBUTE_INTERFACE"><!-- --></A><H3> |
| ATTRIBUTE_INTERFACE</H3> |
| <PRE> |
| static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>ATTRIBUTE_INTERFACE</B></PRE> |
| <DL> |
| <DD>Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the interface that plugin values for this property must implement. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.ATTRIBUTE_INTERFACE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ATTRIBUTE_XML"><!-- --></A><H3> |
| ATTRIBUTE_XML</H3> |
| <PRE> |
| static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>ATTRIBUTE_XML</B></PRE> |
| <DL> |
| <DD>Attribute of the returned <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> property descriptors naming |
| the property's name in XML format (i.e. two-words instead of TwoWords). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.ATTRIBUTE_XML">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="INIT_STATE_LIQUID"><!-- --></A><H3> |
| INIT_STATE_LIQUID</H3> |
| <PRE> |
| static final int <B>INIT_STATE_LIQUID</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.INIT_STATE_LIQUID">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="INIT_STATE_FREEZING"><!-- --></A><H3> |
| INIT_STATE_FREEZING</H3> |
| <PRE> |
| static final int <B>INIT_STATE_FREEZING</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.INIT_STATE_FREEZING">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="INIT_STATE_FROZEN"><!-- --></A><H3> |
| INIT_STATE_FROZEN</H3> |
| <PRE> |
| static final int <B>INIT_STATE_FROZEN</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.conf.Configuration.INIT_STATE_FROZEN">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getProductName()"><!-- --></A><H3> |
| getProductName</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getProductName</B>()</PRE> |
| <DL> |
| <DD>Return the product name. Defaults to <code>openjpa</code>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setProductName(java.lang.String)"><!-- --></A><H3> |
| setProductName</H3> |
| <PRE> |
| void <B>setProductName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD>Set the product name. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLogFactory()"><!-- --></A><H3> |
| getLogFactory</H3> |
| <PRE> |
| <A HREF="../../../../../org/apache/openjpa/lib/log/LogFactory.html" title="interface in org.apache.openjpa.lib.log">LogFactory</A> <B>getLogFactory</B>()</PRE> |
| <DL> |
| <DD>The log factory. If no log factory has been set explicitly, |
| this method will create one. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setLogFactory(org.apache.openjpa.lib.log.LogFactory)"><!-- --></A><H3> |
| setLogFactory</H3> |
| <PRE> |
| void <B>setLogFactory</B>(<A HREF="../../../../../org/apache/openjpa/lib/log/LogFactory.html" title="interface in org.apache.openjpa.lib.log">LogFactory</A> factory)</PRE> |
| <DL> |
| <DD>The log factory. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLog()"><!-- --></A><H3> |
| getLog</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getLog</B>()</PRE> |
| <DL> |
| <DD>Log plugin setting. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setLog(java.lang.String)"><!-- --></A><H3> |
| setLog</H3> |
| <PRE> |
| void <B>setLog</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> log)</PRE> |
| <DL> |
| <DD>Log plugin setting. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLog(java.lang.String)"><!-- --></A><H3> |
| getLog</H3> |
| <PRE> |
| <A HREF="../../../../../org/apache/openjpa/lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</A> <B>getLog</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> category)</PRE> |
| <DL> |
| <DD>Return the log for the given category. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/openjpa/lib/conf/Configuration.html#getLogFactory()"><CODE>getLogFactory()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfigurationLog()"><!-- --></A><H3> |
| getConfigurationLog</H3> |
| <PRE> |
| <A HREF="../../../../../org/apache/openjpa/lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</A> <B>getConfigurationLog</B>()</PRE> |
| <DL> |
| <DD>Return the log to use for configuration messages. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getId()"><!-- --></A><H3> |
| getId</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getId</B>()</PRE> |
| <DL> |
| <DD>An environment-specific identifier for this configuration. This |
| might correspond to a JPA persistence-unit name, or to some other |
| more-unique value available in the current environment. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.9.7</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setId(java.lang.String)"><!-- --></A><H3> |
| setId</H3> |
| <PRE> |
| void <B>setId</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> id)</PRE> |
| <DL> |
| <DD>An environment-specific identifier for this configuration. This |
| might correspond to a JPA persistence-unit name, or to some other |
| more-unique value available in the current environment. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.9.7</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getValue(java.lang.String)"><!-- --></A><H3> |
| getValue</H3> |
| <PRE> |
| <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A> <B>getValue</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property)</PRE> |
| <DL> |
| <DD>Return the <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A> for the given property, or null if none. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getValues()"><!-- --></A><H3> |
| getValues</H3> |
| <PRE> |
| <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A>[] <B>getValues</B>()</PRE> |
| <DL> |
| <DD>Return the set of all <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><CODE>Value</CODE></A>s. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addValue(org.apache.openjpa.lib.conf.Value)"><!-- --></A><H3> |
| addValue</H3> |
| <PRE> |
| <A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A> <B>addValue</B>(<A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A> val)</PRE> |
| <DL> |
| <DD>Add the given value to the set of configuration properties. This |
| method replaces any existing value under the same property. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeValue(org.apache.openjpa.lib.conf.Value)"><!-- --></A><H3> |
| removeValue</H3> |
| <PRE> |
| boolean <B>removeValue</B>(<A HREF="../../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</A> val)</PRE> |
| <DL> |
| <DD>Remove the given value from the set of configuration properties. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="toProperties(boolean)"><!-- --></A><H3> |
| toProperties</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>toProperties</B>(boolean storeDefaults)</PRE> |
| <DL> |
| <DD>A properties representation of this Configuration. |
| Note that changes made to this properties object will |
| not be automatically reflected in this Configuration object. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>storeDefaults</CODE> - if true, then properties will be written |
| out even if they match the default value for a property</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="fromProperties(java.util.Map)"><!-- --></A><H3> |
| fromProperties</H3> |
| <PRE> |
| void <B>fromProperties</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> map)</PRE> |
| <DL> |
| <DD>Set this Configuration via the given map. Any keys missing from |
| the given map will not be set. Note that changes made to this map |
| will not be automatically reflected in this Configuration object. |
| IMPORTANT: If the map contains instantiated objects(rather than |
| string values), only the string representation of those objects |
| are considered in this configuration's <code>equals</code> and |
| <code>hashCode</code> methods. If the object's property has no |
| string form(such as an <A HREF="../../../../../org/apache/openjpa/lib/conf/ObjectValue.html" title="class in org.apache.openjpa.lib.conf"><CODE>ObjectValue</CODE></A>), the object is not |
| part of the equality and hashing calculations. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3> |
| addPropertyChangeListener</H3> |
| <PRE> |
| void <B>addPropertyChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans">PropertyChangeListener</A> listener)</PRE> |
| <DL> |
| <DD>Adds a listener for any property changes. The property events fired |
| will <b>not</b> include the old value. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to receive notification of property changes</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3> |
| removePropertyChangeListener</H3> |
| <PRE> |
| void <B>removePropertyChangeListener</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/beans/PropertyChangeListener.html" title="class or interface in java.beans">PropertyChangeListener</A> listener)</PRE> |
| <DL> |
| <DD>Removes a listener for any property changes. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setReadOnly(int)"><!-- --></A><H3> |
| setReadOnly</H3> |
| <PRE> |
| void <B>setReadOnly</B>(int readOnly)</PRE> |
| <DL> |
| <DD>Lock down the configuration's state. Attempting to set state on a |
| read-only configuration results in an exception. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isReadOnly()"><!-- --></A><H3> |
| isReadOnly</H3> |
| <PRE> |
| boolean <B>isReadOnly</B>()</PRE> |
| <DL> |
| <DD>Return true if this configuration is immutable. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="instantiateAll()"><!-- --></A><H3> |
| instantiateAll</H3> |
| <PRE> |
| void <B>instantiateAll</B>()</PRE> |
| <DL> |
| <DD>Call the instantiating get methods for all values. Up-front |
| instantiation allows one to avoid the synchronization necessary with |
| lazy instantiation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="close()"><!-- --></A><H3> |
| close</H3> |
| <PRE> |
| void <B>close</B>()</PRE> |
| <DL> |
| <DD>Free the resources used by this object. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/util/Closeable.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clone()"><!-- --></A><H3> |
| clone</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>clone</B>()</PRE> |
| <DL> |
| <DD>Return a copy of this configuration. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <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=2 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/Configuration.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/openjpa/lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/openjpa/lib/conf/ConfigurationImpl.html" title="class in org.apache.openjpa.lib.conf"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/openjpa/lib/conf/Configuration.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Configuration.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006-2008 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |