| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <!-- NewPage --> | |
| <html lang="en"> | |
| <head> | |
| <!-- Generated by javadoc (1.8.0) on Sun Aug 28 20:41:59 EST 2016 --> | |
| <title>AbstractConfiguration (Apache River v3.0.0 API Documentation (internals))</title> | |
| <meta name="date" content="2016-08-28"> | |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> | |
| <script type="text/javascript" src="../../../script.js"></script> | |
| </head> | |
| <body> | |
| <script type="text/javascript"><!-- | |
| try { | |
| if (location.href.indexOf('is-external=true') == -1) { | |
| parent.document.title="AbstractConfiguration (Apache River v3.0.0 API Documentation (internals))"; | |
| } | |
| } | |
| catch(err) { | |
| } | |
| //--> | |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":6,"i4":10,"i5":10,"i6":9,"i7":9}; | |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; | |
| var altColor = "altColor"; | |
| var rowColor = "rowColor"; | |
| var tableTab = "tableTab"; | |
| var activeTableTab = "activeTableTab"; | |
| </script> | |
| <noscript> | |
| <div>JavaScript is disabled on your browser.</div> | |
| </noscript> | |
| <!-- ========= START OF TOP NAVBAR ======= --> | |
| <div class="topNav"><a name="navbar.top"> | |
| <!-- --> | |
| </a> | |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | |
| <a name="navbar.top.firstrow"> | |
| <!-- --> | |
| </a> | |
| <ul class="navList" title="Navigation"> | |
| <li><a href="../../../overview-summary.html">Overview</a></li> | |
| <li><a href="package-summary.html">Package</a></li> | |
| <li class="navBarCell1Rev">Class</li> | |
| <li><a href="class-use/AbstractConfiguration.html">Use</a></li> | |
| <li><a href="package-tree.html">Tree</a></li> | |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> | |
| <li><a href="../../../index-all.html">Index</a></li> | |
| <li><a href="../../../help-doc.html">Help</a></li> | |
| </ul> | |
| </div> | |
| <div class="subNav"> | |
| <ul class="navList"> | |
| <li>Prev Class</li> | |
| <li><a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config"><span class="typeNameLink">Next Class</span></a></li> | |
| </ul> | |
| <ul class="navList"> | |
| <li><a href="../../../index.html?net/jini/config/AbstractConfiguration.html" target="_top">Frames</a></li> | |
| <li><a href="AbstractConfiguration.html" target="_top">No Frames</a></li> | |
| </ul> | |
| <ul class="navList" id="allclasses_navbar_top"> | |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> | |
| </ul> | |
| <div> | |
| <script type="text/javascript"><!-- | |
| allClassesLink = document.getElementById("allclasses_navbar_top"); | |
| if(window==top) { | |
| allClassesLink.style.display = "block"; | |
| } | |
| else { | |
| allClassesLink.style.display = "none"; | |
| } | |
| //--> | |
| </script> | |
| </div> | |
| <div> | |
| <ul class="subNavList"> | |
| <li>Summary: </li> | |
| <li><a href="#nested.class.summary">Nested</a> | </li> | |
| <li><a href="#field.summary">Field</a> | </li> | |
| <li><a href="#constructor.summary">Constr</a> | </li> | |
| <li><a href="#method.summary">Method</a></li> | |
| </ul> | |
| <ul class="subNavList"> | |
| <li>Detail: </li> | |
| <li><a href="#field.detail">Field</a> | </li> | |
| <li><a href="#constructor.detail">Constr</a> | </li> | |
| <li><a href="#method.detail">Method</a></li> | |
| </ul> | |
| </div> | |
| <a name="skip.navbar.top"> | |
| <!-- --> | |
| </a></div> | |
| <!-- ========= END OF TOP NAVBAR ========= --> | |
| <!-- ======== START OF CLASS DATA ======== --> | |
| <div class="header"> | |
| <div class="subTitle">net.jini.config</div> | |
| <h2 title="Class AbstractConfiguration" class="title">Class AbstractConfiguration</h2> | |
| </div> | |
| <div class="contentContainer"> | |
| <ul class="inheritance"> | |
| <li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> | |
| <li> | |
| <ul class="inheritance"> | |
| <li>net.jini.config.AbstractConfiguration</li> | |
| </ul> | |
| </li> | |
| </ul> | |
| <div class="description"> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <dl> | |
| <dt>All Implemented Interfaces:</dt> | |
| <dd><a href="../../../net/jini/config/Configuration.html" title="interface in net.jini.config">Configuration</a></dd> | |
| </dl> | |
| <dl> | |
| <dt>Direct Known Subclasses:</dt> | |
| <dd><a href="../../../net/jini/config/ConfigurationFile.html" title="class in net.jini.config">ConfigurationFile</a>, <a href="../../../net/jini/config/EmptyConfiguration.html" title="class in net.jini.config">EmptyConfiguration</a></dd> | |
| </dl> | |
| <hr> | |
| <br> | |
| <pre>public abstract class <span class="typeNameLabel">AbstractConfiguration</span> | |
| extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> | |
| implements <a href="../../../net/jini/config/Configuration.html" title="interface in net.jini.config">Configuration</a></pre> | |
| <div class="block">A skeletal implementation of the <code>Configuration</code> interface, used | |
| to simplify writing implementations. This class checks the validity of | |
| arguments to the <code>getEntry</code> methods, checks that the result | |
| matches the requested type, and wraps exceptions other than <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a> or | |
| <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config"><code>ConfigurationException</code></a> in a | |
| <code>ConfigurationException</code>. Subclasses need to implement the <a href="../../../net/jini/config/AbstractConfiguration.html#getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-"><code>getEntryInternal</code></a> method, | |
| which supplies entry values, throws <a href="../../../net/jini/config/NoSuchEntryException.html" title="class in net.jini.config"><code>NoSuchEntryException</code></a> if no | |
| matching entry is found, and performs any desired primitive conversions. The | |
| <code>getEntryInternal</code> method should return primitive values as | |
| instances of <a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config"><code>AbstractConfiguration.Primitive</code></a>.</div> | |
| <dl> | |
| <dt><span class="simpleTagLabel">Since:</span></dt> | |
| <dd>2.0</dd> | |
| <dt><span class="simpleTagLabel">Author:</span></dt> | |
| <dd>Sun Microsystems, Inc.</dd> | |
| <dt><span class="simpleTagLabel">Implementation Specifics:</span></dt> | |
| <dd><!-- Implementation Specifics --> | |
| This implementation uses the <a href="http://docs.oracle.com/javase/6/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging"><code>Logger</code></a> named | |
| <code>net.jini.config</code> to log information at the following logging | |
| levels: <p> | |
| <table border="1" cellpadding="5" summary="Describes logging performed by | |
| the AbstractConfiguration class at different logging levels"> | |
| <caption halign="center" valign="top"><b><code> | |
| net.jini.config</code></b></caption> | |
| <tr> <th scope="col"> Level <th scope="col"> Description | |
| <tr> <td> <a href="../../../org/apache/river/logging/Levels.html#FAILED"><code>FAILED</code></a> <td> problems getting entries, | |
| including getting entries that are not found | |
| <tr> <td> <a href="http://docs.oracle.com/javase/6/docs/api/java/util/logging/Level.html?is-external=true#FINE" title="class or interface in java.util.logging"><code>FINE</code></a> <td> returning default values | |
| <tr> <td> <a href="http://docs.oracle.com/javase/6/docs/api/java/util/logging/Level.html?is-external=true#FINER" title="class or interface in java.util.logging"><code>FINER</code></a> <td> getting existing entries | |
| </table></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="summary"> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <!-- ======== NESTED CLASS SUMMARY ======== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="nested.class.summary"> | |
| <!-- --> | |
| </a> | |
| <h3>Nested Class Summary</h3> | |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> | |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> | |
| <tr> | |
| <th class="colFirst" scope="col">Modifier and Type</th> | |
| <th class="colLast" scope="col">Class and Description</th> | |
| </tr> | |
| <tr class="altColor"> | |
| <td class="colFirst"><code>static class </code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config">AbstractConfiguration.Primitive</a><<a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="type parameter in AbstractConfiguration.Primitive">T</a>></span></code> | |
| <div class="block">Represents the value of an entry with a primitive type.</div> | |
| </td> | |
| </tr> | |
| </table> | |
| </li> | |
| </ul> | |
| <!-- =========== FIELD SUMMARY =========== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="field.summary"> | |
| <!-- --> | |
| </a> | |
| <h3>Field Summary</h3> | |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> | |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> | |
| <tr> | |
| <th class="colFirst" scope="col">Modifier and Type</th> | |
| <th class="colLast" scope="col">Field and Description</th> | |
| </tr> | |
| <tr class="altColor"> | |
| <td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a></code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#logger">logger</a></span></code> | |
| <div class="block">Config logger.</div> | |
| </td> | |
| </tr> | |
| <tr class="rowColor"> | |
| <td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#reservedNames">reservedNames</a></span></code> | |
| <div class="block">A sorted array of names that cannot be used for identifiers.</div> | |
| </td> | |
| </tr> | |
| </table> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="fields.inherited.from.class.net.jini.config.Configuration"> | |
| <!-- --> | |
| </a> | |
| <h3>Fields inherited from interface net.jini.config.<a href="../../../net/jini/config/Configuration.html" title="interface in net.jini.config">Configuration</a></h3> | |
| <code><a href="../../../net/jini/config/Configuration.html#NO_DATA">NO_DATA</a>, <a href="../../../net/jini/config/Configuration.html#NO_DEFAULT">NO_DEFAULT</a></code></li> | |
| </ul> | |
| </li> | |
| </ul> | |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="constructor.summary"> | |
| <!-- --> | |
| </a> | |
| <h3>Constructor Summary</h3> | |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> | |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> | |
| <tr> | |
| <th class="colFirst" scope="col">Modifier</th> | |
| <th class="colLast" scope="col">Constructor and Description</th> | |
| </tr> | |
| <tr class="altColor"> | |
| <td class="colFirst"><code>protected </code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#AbstractConfiguration--">AbstractConfiguration</a></span>()</code> | |
| <div class="block">Creates an instance of this class.</div> | |
| </td> | |
| </tr> | |
| </table> | |
| </li> | |
| </ul> | |
| <!-- ========== METHOD SUMMARY =========== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="method.summary"> | |
| <!-- --> | |
| </a> | |
| <h3>Method Summary</h3> | |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> | |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> | |
| <tr> | |
| <th class="colFirst" scope="col">Modifier and Type</th> | |
| <th class="colLast" scope="col">Method and Description</th> | |
| </tr> | |
| <tr id="i0" class="altColor"> | |
| <td class="colFirst"><code><T> T</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-">getEntry</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code> | |
| <div class="block">Returns an object of the specified type created using the information in | |
| the entry matching the specified component and name, which must be | |
| found, and supplying no data.</div> | |
| </td> | |
| </tr> | |
| <tr id="i1" class="rowColor"> | |
| <td class="colFirst"><code><T> T</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-">getEntry</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue)</code> | |
| <div class="block">Returns an object of the specified type created using the information in | |
| the entry matching the specified component and name, and supplying no | |
| data, returning the default value if no matching entry is found and the | |
| default value is not <a href="../../../net/jini/config/Configuration.html#NO_DEFAULT"><code>Configuration.NO_DEFAULT</code></a>.</div> | |
| </td> | |
| </tr> | |
| <tr id="i2" class="altColor"> | |
| <td class="colFirst"><code><T> T</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-">getEntry</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data)</code> | |
| <div class="block">Returns an object of the specified type created using the information in | |
| the entry matching the specified component and name, and using the | |
| specified data (unless it is <a href="../../../net/jini/config/Configuration.html#NO_DATA"><code>Configuration.NO_DATA</code></a>), returning the default | |
| value if no matching entry is found and the default value is not <a href="../../../net/jini/config/Configuration.html#NO_DEFAULT"><code>Configuration.NO_DEFAULT</code></a>.</div> | |
| </td> | |
| </tr> | |
| <tr id="i3" class="rowColor"> | |
| <td class="colFirst"><code>protected abstract <T> <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-">getEntryInternal</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data)</code> | |
| <div class="block">Returns an object created using the information in the entry matching | |
| the specified component and name, and the specified data, for the | |
| requested type.</div> | |
| </td> | |
| </tr> | |
| <tr id="i4" class="altColor"> | |
| <td class="colFirst"><code>private <T> T</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-">getEntryInternal</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data)</code> | |
| <div class="block">Helper method, used to implement the public overloadings of getEntry, | |
| which checks for null or illegal arguments, and logs and wraps | |
| exceptions.</div> | |
| </td> | |
| </tr> | |
| <tr id="i5" class="rowColor"> | |
| <td class="colFirst"><code>(package private) void</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#logThrow-java.lang.String-java.lang.String-java.lang.Object:A-java.lang.Throwable-">logThrow</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] msgParams, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code> | |
| <div class="block">Logs a throw</div> | |
| </td> | |
| </tr> | |
| <tr id="i6" class="altColor"> | |
| <td class="colFirst"><code>protected static boolean</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#validIdentifier-java.lang.String-">validIdentifier</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> | |
| <div class="block">Checks if the argument is a valid <i>Identifier</i>, as defined in the | |
| <i>Java(TM) Language Specification</i>.</div> | |
| </td> | |
| </tr> | |
| <tr id="i7" class="rowColor"> | |
| <td class="colFirst"><code>protected static boolean</code></td> | |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/config/AbstractConfiguration.html#validQualifiedIdentifier-java.lang.String-">validQualifiedIdentifier</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> | |
| <div class="block">Checks if the argument is a valid <i>QualifiedIdentifier</i>, as defined | |
| in the <i>Java Language Specification</i>.</div> | |
| </td> | |
| </tr> | |
| </table> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> | |
| <!-- --> | |
| </a> | |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> | |
| <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> | |
| </ul> | |
| </li> | |
| </ul> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="details"> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <!-- ============ FIELD DETAIL =========== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="field.detail"> | |
| <!-- --> | |
| </a> | |
| <h3>Field Detail</h3> | |
| <a name="reservedNames"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>reservedNames</h4> | |
| <pre>private static final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] reservedNames</pre> | |
| <div class="block">A sorted array of names that cannot be used for identifiers. This list | |
| includes the names of all Java programming language keywords, plus | |
| 'null', 'true', and 'false', which are not keywords, but are not | |
| permitted as identifiers.</div> | |
| </li> | |
| </ul> | |
| <a name="logger"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockListLast"> | |
| <li class="blockList"> | |
| <h4>logger</h4> | |
| <pre>static final <a href="http://docs.oracle.com/javase/6/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a> logger</pre> | |
| <div class="block">Config logger.</div> | |
| </li> | |
| </ul> | |
| </li> | |
| </ul> | |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="constructor.detail"> | |
| <!-- --> | |
| </a> | |
| <h3>Constructor Detail</h3> | |
| <a name="AbstractConfiguration--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockListLast"> | |
| <li class="blockList"> | |
| <h4>AbstractConfiguration</h4> | |
| <pre>protected AbstractConfiguration()</pre> | |
| <div class="block">Creates an instance of this class.</div> | |
| </li> | |
| </ul> | |
| </li> | |
| </ul> | |
| <!-- ============ METHOD DETAIL ========== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="method.detail"> | |
| <!-- --> | |
| </a> | |
| <h3>Method Detail</h3> | |
| <a name="getEntry-java.lang.String-java.lang.String-java.lang.Class-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getEntry</h4> | |
| <pre>public <T> T getEntry(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type) | |
| throws <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></pre> | |
| <div class="block">Returns an object of the specified type created using the information in | |
| the entry matching the specified component and name, which must be | |
| found, and supplying no data. If <code>type</code> is a primitive type, | |
| then the result is returned as an instance of the associated wrapper | |
| class. Repeated calls with the same arguments may or may not return the | |
| identical object. <p> | |
| The default implementation checks that <code>component</code>, | |
| <code>name</code>, and <code>type</code> are not <code>null</code>; that | |
| <code>component</code> is a valid qualified identifier; and that | |
| <code>name</code> is a valid identifier. It returns the result of | |
| calling <a href="../../../net/jini/config/AbstractConfiguration.html#getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-"><code>getEntryInternal</code></a> with the specified arguments, as well as <a href="../../../net/jini/config/Configuration.html#NO_DEFAULT"><code>Configuration.NO_DEFAULT</code></a> and <a href="../../../net/jini/config/Configuration.html#NO_DATA"><code>Configuration.NO_DATA</code></a>, converting results of type <a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config"><code>AbstractConfiguration.Primitive</code></a> into the associated wrapper type. If the call throws an | |
| exception other than an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a> or a <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config"><code>ConfigurationException</code></a>, it throws a <code>ConfigurationException</code> | |
| with the original exception as the cause.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/Configuration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-">getEntry</a></code> in interface <code><a href="../../../net/jini/config/Configuration.html" title="interface in net.jini.config">Configuration</a></code></dd> | |
| <dt><span class="paramLabel">Type Parameters:</span></dt> | |
| <dd><code>T</code> - Object returned.</dd> | |
| <dt><span class="paramLabel">Parameters:</span></dt> | |
| <dd><code>component</code> - the component being configured</dd> | |
| <dd><code>name</code> - the name of the entry for the component</dd> | |
| <dd><code>type</code> - the type of the object to be returned</dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>an object created using the information in the entry matching | |
| <code>component</code> and <code>name</code></dd> | |
| <dt><span class="throwsLabel">Throws:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/NoSuchEntryException.html" title="class in net.jini.config">NoSuchEntryException</a></code> - if no matching entry is found</dd> | |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>component</code> is not | |
| <code>null</code> and is not a valid <i>QualifiedIdentifier</i>, or if | |
| <code>name</code> is not <code>null</code> and is not a valid | |
| <i>Identifier</i></dd> | |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if any argument is <code>null</code></dd> | |
| <dd><code><a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></code> - if a matching entry is found but a | |
| problem occurs creating the object for the entry, or if | |
| <code>type</code> is a reference type and the result for the matching | |
| entry is not either <code>null</code> or an instance of | |
| <code>type</code>, or if <code>type</code> is a primitive type and the | |
| result is not an instance of the associated wrapper class. Any | |
| <code>Error</code> thrown while creating the object is propagated to the | |
| caller; it is not wrapped in a <code>ConfigurationException</code>.</dd> | |
| <dt><span class="seeLabel">See Also:</span></dt> | |
| <dd><a href="../../../net/jini/config/Configuration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-"><code>Configuration.getEntry(String, String, Class, Object)</code></a></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getEntry</h4> | |
| <pre>public <T> T getEntry(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue) | |
| throws <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></pre> | |
| <div class="block">Returns an object of the specified type created using the information in | |
| the entry matching the specified component and name, and supplying no | |
| data, returning the default value if no matching entry is found and the | |
| default value is not <a href="../../../net/jini/config/Configuration.html#NO_DEFAULT"><code>Configuration.NO_DEFAULT</code></a>. If <code>type</code> is a | |
| primitive type, then the result is returned as an instance of the | |
| associated wrapper class. Repeated calls with the same arguments may or | |
| may not return the identical object. <p> | |
| The default implementation checks that <code>component</code>, | |
| <code>name</code>, and <code>type</code> are not <code>null</code>; that | |
| <code>component</code> is a valid qualified identifier; that | |
| <code>name</code> is a valid identifier; and that | |
| <code>defaultValue</code> is of the right type. It returns the result of | |
| calling <a href="../../../net/jini/config/AbstractConfiguration.html#getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-"><code>getEntryInternal</code></a> with the specified arguments, as well as <a href="../../../net/jini/config/Configuration.html#NO_DATA"><code>Configuration.NO_DATA</code></a>, converting results of type <a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config"><code>AbstractConfiguration.Primitive</code></a> into the | |
| associated wrapper type. If the call throws an exception other than an | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a> or a <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config"><code>ConfigurationException</code></a>, it throws a | |
| <code>ConfigurationException</code> with the original exception as the | |
| cause.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/Configuration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-">getEntry</a></code> in interface <code><a href="../../../net/jini/config/Configuration.html" title="interface in net.jini.config">Configuration</a></code></dd> | |
| <dt><span class="paramLabel">Parameters:</span></dt> | |
| <dd><code>component</code> - the component being configured</dd> | |
| <dd><code>name</code> - the name of the entry for the component</dd> | |
| <dd><code>type</code> - the type of the object to be returned</dd> | |
| <dd><code>defaultValue</code> - the object to return if no matching entry is found, | |
| or <code>NO_DEFAULT</code> to specify no default</dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>an object created using the information in the entry matching | |
| <code>component</code> and <code>name</code>, or | |
| <code>defaultValue</code> if no matching entry is found and | |
| <code>defaultValue</code> is not <code>NO_DEFAULT</code></dd> | |
| <dt><span class="throwsLabel">Throws:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/NoSuchEntryException.html" title="class in net.jini.config">NoSuchEntryException</a></code> - if no matching entry is found and | |
| <code>defaultValue</code> is <code>NO_DEFAULT</code></dd> | |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>component</code> is not | |
| <code>null</code> and is not a valid <i>QualifiedIdentifier</i>; or if | |
| <code>name</code> is not <code>null</code> and is not a valid | |
| <i>Identifier</i>; or if <code>type</code> is a reference type and | |
| <code>defaultValue</code> is not <code>NO_DEFAULT</code>, | |
| <code>null</code>, or an instance of <code>type</code>; or if | |
| <code>type</code> is a primitive type and <code>defaultValue</code> is | |
| not <code>NO_DEFAULT</code> or an instance of the associated wrapper | |
| class</dd> | |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if <code>component</code>, | |
| <code>name</code>, or <code>type</code> is <code>null</code></dd> | |
| <dd><code><a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></code> - if a matching entry is found but a | |
| problem occurs creating the object for the entry, or if | |
| <code>type</code> is a reference type and the result for the matching | |
| entry is not either <code>null</code> or an instance of | |
| <code>type</code>, or if <code>type</code> is a primitive type and the | |
| result is not an instance of the associated wrapper class. Any | |
| <code>Error</code> thrown while creating the object is propagated to the | |
| caller; it is not wrapped in a <code>ConfigurationException</code>.</dd> | |
| <dt><span class="seeLabel">See Also:</span></dt> | |
| <dd><a href="../../../net/jini/config/Configuration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-"><code>Configuration.getEntry(String, String, Class, Object, Object)</code></a></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getEntry</h4> | |
| <pre>public <T> T getEntry(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data) | |
| throws <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></pre> | |
| <div class="block">Returns an object of the specified type created using the information in | |
| the entry matching the specified component and name, and using the | |
| specified data (unless it is <a href="../../../net/jini/config/Configuration.html#NO_DATA"><code>Configuration.NO_DATA</code></a>), returning the default | |
| value if no matching entry is found and the default value is not <a href="../../../net/jini/config/Configuration.html#NO_DEFAULT"><code>Configuration.NO_DEFAULT</code></a>. If <code>type</code> is a primitive type, then the result | |
| is returned as an instance of the associated wrapper class. Repeated | |
| calls with the same arguments may or may not return the identical | |
| object. <p> | |
| The default implementation checks that <code>component</code>, | |
| <code>name</code>, and <code>type</code> are not <code>null</code>; that | |
| <code>component</code> is a valid qualified identifier; that | |
| <code>name</code> is a valid identifier; and that | |
| <code>defaultValue</code> is of the right type. It returns the result of | |
| calling <a href="../../../net/jini/config/AbstractConfiguration.html#getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-"><code>getEntryInternal</code></a> with the specified arguments, converting results of | |
| type <a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config"><code>AbstractConfiguration.Primitive</code></a> into the associated wrapper type. If the call | |
| throws an exception other than an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a> or a <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config"><code>ConfigurationException</code></a>, it throws a <code>ConfigurationException</code> | |
| with the original exception as the cause.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/Configuration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-">getEntry</a></code> in interface <code><a href="../../../net/jini/config/Configuration.html" title="interface in net.jini.config">Configuration</a></code></dd> | |
| <dt><span class="paramLabel">Parameters:</span></dt> | |
| <dd><code>component</code> - the component being configured</dd> | |
| <dd><code>name</code> - the name of the entry for the component</dd> | |
| <dd><code>type</code> - the type of the object to be returned</dd> | |
| <dd><code>defaultValue</code> - the object to return if no matching entry is found, | |
| or <code>NO_DEFAULT</code> to specify no default</dd> | |
| <dd><code>data</code> - an object to use when computing the value of the entry, or | |
| <code>NO_DATA</code> to specify no data</dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>an object created using the information in the entry matching | |
| <code>component</code> and <code>name</code>, and using the value of | |
| <code>data</code> (unless it is <code>NO_DATA</code>), or | |
| <code>defaultValue</code> if no matching entry is found and | |
| <code>defaultValue</code> is not <code>NO_DEFAULT</code></dd> | |
| <dt><span class="throwsLabel">Throws:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/NoSuchEntryException.html" title="class in net.jini.config">NoSuchEntryException</a></code> - if no matching entry is found and | |
| <code>defaultValue</code> is <code>NO_DEFAULT</code></dd> | |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>component</code> is not | |
| <code>null</code> and is not a valid <i>QualifiedIdentifier</i>; or if | |
| <code>name</code> is not <code>null</code> and is not a valid | |
| <i>Identifier</i>; or if <code>type</code> is a reference type and | |
| <code>defaultValue</code> is not <code>NO_DEFAULT</code>, | |
| <code>null</code>, or an instance of <code>type</code>; or if | |
| <code>type</code> is a primitive type and <code>defaultValue</code> is | |
| not <code>NO_DEFAULT</code> or an instance of the associated wrapper | |
| class</dd> | |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if <code>component</code>, | |
| <code>name</code>, or <code>type</code> is <code>null</code></dd> | |
| <dd><code><a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></code> - if a matching entry is found but a | |
| problem occurs creating the object for the entry, or if | |
| <code>type</code> is a reference type and the result for the matching | |
| entry is not either <code>null</code> or an instance of | |
| <code>type</code>, or if <code>type</code> is a primitive type and the | |
| result is not an instance of the associated wrapper class. Any | |
| <code>Error</code> thrown while creating the object is propagated to the | |
| caller; it is not wrapped in a <code>ConfigurationException</code>.</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getEntryInternal</h4> | |
| <pre>protected abstract <T> <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getEntryInternal(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data) | |
| throws <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></pre> | |
| <div class="block">Returns an object created using the information in the entry matching | |
| the specified component and name, and the specified data, for the | |
| requested type. If the entry value is a primitive, then the object | |
| returned should be an instance of <a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config"><code>AbstractConfiguration.Primitive</code></a>. Implementations may | |
| use <code>type</code> to perform conversions on primitive values, if | |
| desired, but are not required to check if the object is of the requested | |
| type. Repeated calls with the same arguments may or may not return the | |
| identical object. <p> | |
| The default implementations of the <code>getEntry</code> methods | |
| delegate to this method; implementations can rely on the fact that calls | |
| made to this method by those methods will have arguments that are not | |
| <code>null</code> and that have the correct syntax.</div> | |
| <dl> | |
| <dt><span class="paramLabel">Type Parameters:</span></dt> | |
| <dd><code>T</code> - </dd> | |
| <dt><span class="paramLabel">Parameters:</span></dt> | |
| <dd><code>component</code> - the component being configured</dd> | |
| <dd><code>name</code> - the name of the entry for the component</dd> | |
| <dd><code>type</code> - the type of object requested</dd> | |
| <dd><code>data</code> - an object to use when computing the value of the entry, or | |
| <a href="../../../net/jini/config/Configuration.html#NO_DATA"><code>Configuration.NO_DATA</code></a> to specify no data</dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>an object created using the information in the entry matching | |
| <code>component</code> and <code>name</code>, and using the value of | |
| <code>data</code> (unless it is <code>NO_DATA</code>)</dd> | |
| <dt><span class="throwsLabel">Throws:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/NoSuchEntryException.html" title="class in net.jini.config">NoSuchEntryException</a></code> - if no matching entry is found</dd> | |
| <dd><code><a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></code> - if a matching entry is found but a | |
| problem occurs creating the object for the entry</dd> | |
| <dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if <code>component</code>, | |
| <code>name</code>, or <code>type</code> is <code>null</code></dd> | |
| <dt><span class="seeLabel">See Also:</span></dt> | |
| <dd><a href="../../../net/jini/config/Configuration.html#getEntry-java.lang.String-java.lang.String-java.lang.Class-"><code>Configuration.getEntry</code></a></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getEntryInternal-java.lang.String-java.lang.String-java.lang.Class-java.lang.Object-java.lang.Object-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getEntryInternal</h4> | |
| <pre>private <T> T getEntryInternal(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> component, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data) | |
| throws <a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></pre> | |
| <div class="block">Helper method, used to implement the public overloadings of getEntry, | |
| which checks for null or illegal arguments, and logs and wraps | |
| exceptions.</div> | |
| <dl> | |
| <dt><span class="throwsLabel">Throws:</span></dt> | |
| <dd><code><a href="../../../net/jini/config/ConfigurationException.html" title="class in net.jini.config">ConfigurationException</a></code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="logThrow-java.lang.String-java.lang.String-java.lang.Object:A-java.lang.Throwable-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>logThrow</h4> | |
| <pre>void logThrow(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> method, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] msgParams, | |
| <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> | |
| <div class="block">Logs a throw</div> | |
| </li> | |
| </ul> | |
| <a name="validIdentifier-java.lang.String-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>validIdentifier</h4> | |
| <pre>protected static boolean validIdentifier(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> | |
| <div class="block">Checks if the argument is a valid <i>Identifier</i>, as defined in the | |
| <i>Java(TM) Language Specification</i>.</div> | |
| <dl> | |
| <dt><span class="paramLabel">Parameters:</span></dt> | |
| <dd><code>name</code> - the name to check</dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd><code>true</code> if <code>name</code> is a valid | |
| <i>Identifier</i>, else <code>false</code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="validQualifiedIdentifier-java.lang.String-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockListLast"> | |
| <li class="blockList"> | |
| <h4>validQualifiedIdentifier</h4> | |
| <pre>protected static boolean validQualifiedIdentifier(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> | |
| <div class="block">Checks if the argument is a valid <i>QualifiedIdentifier</i>, as defined | |
| in the <i>Java Language Specification</i>.</div> | |
| <dl> | |
| <dt><span class="paramLabel">Parameters:</span></dt> | |
| <dd><code>name</code> - the name to check</dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd><code>true</code> if <code>name</code> is a valid | |
| <i>QualifiedIdentifier</i>, else <code>false</code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| </li> | |
| </ul> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- ========= END OF CLASS DATA ========= --> | |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> | |
| <div class="bottomNav"><a name="navbar.bottom"> | |
| <!-- --> | |
| </a> | |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | |
| <a name="navbar.bottom.firstrow"> | |
| <!-- --> | |
| </a> | |
| <ul class="navList" title="Navigation"> | |
| <li><a href="../../../overview-summary.html">Overview</a></li> | |
| <li><a href="package-summary.html">Package</a></li> | |
| <li class="navBarCell1Rev">Class</li> | |
| <li><a href="class-use/AbstractConfiguration.html">Use</a></li> | |
| <li><a href="package-tree.html">Tree</a></li> | |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> | |
| <li><a href="../../../index-all.html">Index</a></li> | |
| <li><a href="../../../help-doc.html">Help</a></li> | |
| </ul> | |
| </div> | |
| <div class="subNav"> | |
| <ul class="navList"> | |
| <li>Prev Class</li> | |
| <li><a href="../../../net/jini/config/AbstractConfiguration.Primitive.html" title="class in net.jini.config"><span class="typeNameLink">Next Class</span></a></li> | |
| </ul> | |
| <ul class="navList"> | |
| <li><a href="../../../index.html?net/jini/config/AbstractConfiguration.html" target="_top">Frames</a></li> | |
| <li><a href="AbstractConfiguration.html" target="_top">No Frames</a></li> | |
| </ul> | |
| <ul class="navList" id="allclasses_navbar_bottom"> | |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> | |
| </ul> | |
| <div> | |
| <script type="text/javascript"><!-- | |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); | |
| if(window==top) { | |
| allClassesLink.style.display = "block"; | |
| } | |
| else { | |
| allClassesLink.style.display = "none"; | |
| } | |
| //--> | |
| </script> | |
| </div> | |
| <div> | |
| <ul class="subNavList"> | |
| <li>Summary: </li> | |
| <li><a href="#nested.class.summary">Nested</a> | </li> | |
| <li><a href="#field.summary">Field</a> | </li> | |
| <li><a href="#constructor.summary">Constr</a> | </li> | |
| <li><a href="#method.summary">Method</a></li> | |
| </ul> | |
| <ul class="subNavList"> | |
| <li>Detail: </li> | |
| <li><a href="#field.detail">Field</a> | </li> | |
| <li><a href="#constructor.detail">Constr</a> | </li> | |
| <li><a href="#method.detail">Method</a></li> | |
| </ul> | |
| </div> | |
| <a name="skip.navbar.bottom"> | |
| <!-- --> | |
| </a></div> | |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> | |
| <p class="legalCopy"><small>Copyright 2007-2013, multiple authors.<br>Licensed under the <a href=http://www.apache.org/licenses/LICENSE-2.0 target=child >Apache License, Version 2.0</a>, see the <a href=../../../doc-files/NOTICE target=child >NOTICE</a> file for attributions.</small></p> | |
| </body> | |
| </html> |