http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/BeanContext.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanContext.html b/content/site/apidocs/org/apache/juneau/BeanContext.html index f6fec15..2b7a59c 100644 --- a/content/site/apidocs/org/apache/juneau/BeanContext.html +++ b/content/site/apidocs/org/apache/juneau/BeanContext.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>BeanContext (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>BeanContext (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,13 +12,13 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="BeanContext (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="BeanContext (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li>Prev Class</li> -<li><a href="../../../org/apache/juneau/BeanDictionary.html" title="class in org.apache.juneau"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../org/apache/juneau/BeanDictionaryList.html" title="class in org.apache.juneau"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?org/apache/juneau/BeanContext.html" target="_top">Frames</a></li> @@ -112,9 +112,13 @@ var activeTableTab = "activeTableTab"; <div class="description"> <ul class="blockList"> <li class="blockList"> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../org/apache/juneau/parser/ParserContext.html" title="class in org.apache.juneau.parser">ParserContext</a>, <a href="../../../org/apache/juneau/serializer/SerializerContext.html" title="class in org.apache.juneau.serializer">SerializerContext</a></dd> +</dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.374">BeanContext</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.427">BeanContext</a> extends <a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a></pre> <div class="block">Core class of the Juneau architecture. <p> @@ -126,18 +130,28 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <li>Serves as a common utility class for all <a href="../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer"><code>Serializers</code></a> and <a href="../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser"><code>Parsers</code></a> for serializing and parsing Java beans. </ul> - + <p> + All serializer and parser contexts extend from this context. <h5 class='topic'>Bean Contexts</h5> - <p> - Typically, it will be sufficient to use the existing <a href="../../../org/apache/juneau/BeanContext.html#DEFAULT"><code>DEFAULT</code></a> contexts for creating - bean maps. However, if you want to tweak any of the settings on the context, you must - either clone the default context or create a new one from scratch (whichever is simpler for you). - You'll notice that this context class uses a fluent interface for defining settings. - <p> - Bean contexts are created by <a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau"><code>context factories</code></a>. - The settings on a bean context are fixed at the point they are created by the factory. + Bean contexts are created through the <a href="../../../org/apache/juneau/ContextFactory.html#getContext-java.lang.Class-"><code>ContextFactory.getContext(Class)</code></a> method. + These context objects are read-only, reusable, and thread-safe. + The <a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau"><code>ContextFactory</code></a> class will typically cache copies of <code>Context</code> objects based on + the current settings on the factory. + <p> + Each bean context maintains a cache of <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> objects that describe information about classes encountered. + These <code>ClassMeta</code> objects are time-consuming to construct. + Therefore, instances of <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a> that share the same <js>"BeanContext.*"</js> property values share + the same cache. This allows for efficient reuse of <code>ClassMeta</code> objects so that the information about + classes only needs to be calculated once. + Because of this, many of the properties defined on the <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a> class cannot be overridden on the session. + <h5 class='topic'>Bean Sessions</h5> + <p> + Whereas <code>BeanContext</code> objects are permanent, unchangeable, cached, and thread-safe, + <a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau"><code>BeanSession</code></a> objects are ephemeral and not thread-safe. + They are meant to be used as quickly-constructed scratchpads for creating bean maps. + <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> objects can only be created through the session. <h5 class='topic'>BeanContext configuration properties</h5> <code>BeanContexts</code> have several configuration properties that can be used to tweak behavior on how beans are handled. @@ -168,111 +182,127 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap .getBeanContext(); </p> - <h6 class='topic' id='ConfigProperties'>Properties associated with handling beans on serializers and parsers</h6> <table class='styled' style='border-collapse: collapse;'> - <tr><th>Setting name</th><th>Description</th><th>Data type</th><th>Default value</th></tr> + <tr><th>Setting name</th><th>Description</th><th>Data type</th><th>Default value</th><th>Session overridable</th></tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireDefaultConstructor"><code>BEAN_beansRequireDefaultConstructor</code></a></td> <td>Beans require no-arg constructors.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSerializable"><code>BEAN_beansRequireSerializable</code></a></td> <td>Beans require Serializable interface.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSettersForGetters"><code>BEAN_beansRequireSettersForGetters</code></a></td> <td>Beans require setters for getters.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beansRequireSomeProperties"><code>BEAN_beansRequireSomeProperties</code></a></td> <td>Beans require at least one property.</td> <td><code>Boolean</code></td> <td><jk>true</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanMapPutReturnsOldValue"><code>BEAN_beanMapPutReturnsOldValue</code></a></td> <td><a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a> method will return old property value.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanConstructorVisibility"><code>BEAN_beanConstructorVisibility</code></a></td> <td>Look for bean constructors with specified minimum visibility.</td> <td><a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a></td> <td><a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanClassVisibility"><code>BEAN_beanClassVisibility</code></a></td> <td>Look for bean classes with specified minimum visibility.</td> <td><a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a></td> <td><a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanFieldVisibility"><code>BEAN_beanFieldVisibility</code></a></td> <td>Look for bean fields with specified minimum visibility.</td> <td><a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a></td> <td><a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_methodVisibility"><code>BEAN_methodVisibility</code></a></td> <td>Look for bean methods with specified minimum visibility.</td> <td><a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a></td> <td><a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_useJavaBeanIntrospector"><code>BEAN_useJavaBeanIntrospector</code></a></td> <td>Use Java <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> for determining bean properties.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_useInterfaceProxies"><code>BEAN_useInterfaceProxies</code></a></td> <td>Use interface proxies.</td> <td><code>Boolean</code></td> <td><jk>true</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownBeanProperties"><code>BEAN_ignoreUnknownBeanProperties</code></a></td> <td>Ignore unknown properties.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownNullBeanProperties"><code>BEAN_ignoreUnknownNullBeanProperties</code></a></td> <td>Ignore unknown properties with null values.</td> <td><code>Boolean</code></td> <td><jk>true</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_ignorePropertiesWithoutSetters"><code>BEAN_ignorePropertiesWithoutSetters</code></a></td> <td>Ignore bean properties without setters.</td> <td><code>Boolean</code></td> <td><jk>true</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnGetters"><code>BEAN_ignoreInvocationExceptionsOnGetters</code></a></td> <td>Ignore invocation errors on getters.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnSetters"><code>BEAN_ignoreInvocationExceptionsOnSetters</code></a></td> <td>Ignore invocation errors on setters.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td><a href="../../../org/apache/juneau/BeanContext.html#BEAN_sortProperties"><code>BEAN_sortProperties</code></a></td> <td>Sort bean properties in alphabetical order.</td> <td><code>Boolean</code></td> <td><jk>false</jk></td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -283,6 +313,7 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>Packages whose classes should not be considered beans.</td> <td><code>Set<String></code></td> <td>See details</td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -293,6 +324,7 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>Classes that should not be considered beans.</td> <td><code>Set<Class></code></td> <td>empty set</td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -303,6 +335,7 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>Bean filters to apply to beans.</td> <td><code>List<Class></code></td> <td>empty list</td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -313,6 +346,7 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>POJO swaps to apply to java objects.</td> <td><code>List<Class></code></td> <td>empty list</td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -322,6 +356,7 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>Implementation classes for interfaces and abstract classes.</td> <td><code>Map<Class,Class></code></td> <td>empty map</td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -332,6 +367,7 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>Bean lookup dictionary.</td> <td><code>List<Class></code></td> <td>empty list</td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -340,6 +376,7 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>Name to use for the bean type property used to represent a bean type.</td> <td><code>String</code></td> <td><js>"_type"</js></td> + <td><jk>false</jk></td> </tr> <tr> <td> @@ -348,6 +385,34 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <td>Default parser to use when converting <code>Strings</code> to POJOs.</td> <td><code>Class</code></td> <td><a href="../../../org/apache/juneau/json/JsonParser.html" title="class in org.apache.juneau.json"><code>JsonParser</code></a></td> + <td><jk>false</jk></td> + </tr> + <tr> + <td> + <a href="../../../org/apache/juneau/BeanContext.html#BEAN_locale"><code>BEAN_locale</code></a> + </td> + <td>User locale.</td> + <td><code>Locale</code></td> + <td><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true#getDefault--" title="class or interface in java.util"><code>Locale.getDefault()</code></a></td> + <td><jk>true</jk></td> + </tr> + <tr> + <td> + <a href="../../../org/apache/juneau/BeanContext.html#BEAN_timeZone"><code>BEAN_timeZone</code></a> + </td> + <td>User timezone.</td> + <td><code>TimeZone</code></td> + <td><jk>null</jk></td> + <td><jk>true</jk></td> + </tr> + <tr> + <td> + <a href="../../../org/apache/juneau/BeanContext.html#BEAN_debug"><code>BEAN_debug</code></a> + </td> + <td>Debug mode.</td> + <td><code>Boolean</code></td> + <td><jk>false</jk></td> + <td><jk>true</jk></td> </tr> </table> @@ -359,11 +424,10 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <br> Bean maps are created in two ways... <ol> - <li> <a href="../../../org/apache/juneau/BeanContext.html#forBean-T-"><code>BeanContext.forBean()</code></a> - Wraps an existing bean inside a <code>Map</code> wrapper. - <li> <a href="../../../org/apache/juneau/BeanContext.html#newBeanMap-java.lang.Class-"><code>BeanContext.newInstance()</code></a> - Create a new bean instance wrapped in a <code>Map</code> wrapper. + <li> <a href="../../../org/apache/juneau/BeanSession.html#toBeanMap-T-"><code>BeanSession.toBeanMap()</code></a> - Wraps an existing bean inside a <code>Map</code> wrapper. + <li> <a href="../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Class-"><code>BeanSession.newBeanMap()</code></a> - Create a new bean instance wrapped in a <code>Map</code> wrapper. </ol> - <h6 class='topic'>Example:</h6> <p class='bcode'> <jc>// A sample bean class</jc> @@ -374,19 +438,21 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <jk>public void</jk> setAge(<jk>int</jk> age); } + <jc>// Create a new bean session</jc> + BeanSession session = BeanContext.<jsf>DEFAULT</jsf>.createSession(); + <jc>// Wrap an existing bean in a new bean map</jc> - BeanMap<Person> m1 = BeanContext.<jsf>DEFAULT</jsf>.forBean(<jk>new</jk> Person()); + BeanMap<Person> m1 = session.toBeanMap(<jk>new</jk> Person()); m1.put(<js>"name"</js>, <js>"John Smith"</js>); m1.put(<js>"age"</js>, 45); <jc>// Create a new bean instance wrapped in a new bean map</jc> - BeanMap<Person> m2 = BeanContext.<jsf>DEFAULT</jsf>.newInstance(Person.<jk>class</jk>); + BeanMap<Person> m2 = session.newBeanMap(Person.<jk>class</jk>); m2.put(<js>"name"</js>, <js>"John Smith"</js>); m2.put(<js>"age"</js>, 45); Person p = m2.getBean(); <jc>// Get the bean instance that was created.</jc> </p> - <h5 class='topic'>Bean Annotations</h5> <p> This package contains annotations that can be applied to @@ -404,7 +470,6 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <p> See <a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation"><code>@Bean</code></a> and <a href="../../../org/apache/juneau/annotation/BeanProperty.html" title="annotation in org.apache.juneau.annotation"><code>@BeanProperty</code></a> for more information. - <h5 class='topic'>Beans with read-only properties</h5> <p> Bean maps can also be defined on top of beans with read-only properties by adding a @@ -424,7 +489,6 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <p> See <a href="../../../org/apache/juneau/annotation/BeanConstructor.html" title="annotation in org.apache.juneau.annotation"><code>@BeanConstructor</code></a> for more information. - <h5 class='topic'>BeanFilters and PojoSwaps</h5> <p> <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilters</code></a> and <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwaps</code></a> are used to tailor how beans and POJOs are handled.<br> @@ -438,7 +502,6 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <p> See <a href="../../../org/apache/juneau/transform/package-summary.html"><code>org.apache.juneau.transform</code></a> for more information. - <h5 class='topic'>ClassMetas</h5> <p> The <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> class is a wrapper around <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> object that provides cached information @@ -450,10 +513,6 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap improves performance. <p> See <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> for more information.</div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>Barry M. Caceres, James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -564,118 +623,142 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_debug">BEAN_debug</a></span></code> +<div class="block"><b>Configuration property:</b> Debug mode.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_defaultParser">BEAN_defaultParser</a></span></code> <div class="block"><b>Configuration property:</b> Default parser to use when converting <code>Strings</code> to POJOs.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnGetters">BEAN_ignoreInvocationExceptionsOnGetters</a></span></code> <div class="block"><b>Configuration property:</b> Ignore invocation errors on getters.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreInvocationExceptionsOnSetters">BEAN_ignoreInvocationExceptionsOnSetters</a></span></code> <div class="block"><b>Configuration property:</b> Ignore invocation errors on setters.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_ignorePropertiesWithoutSetters">BEAN_ignorePropertiesWithoutSetters</a></span></code> <div class="block"><b>Configuration property:</b> Ignore properties without setters.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownBeanProperties">BEAN_ignoreUnknownBeanProperties</a></span></code> <div class="block"><b>Configuration property:</b> Ignore unknown properties.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_ignoreUnknownNullBeanProperties">BEAN_ignoreUnknownNullBeanProperties</a></span></code> <div class="block"><b>Configuration property:</b> Ignore unknown properties with null values.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_implClasses">BEAN_implClasses</a></span></code> <div class="block"><b>Configuration property:</b> Implementation classes for interfaces and abstract classes.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_implClasses_put">BEAN_implClasses_put</a></span></code> <div class="block"><b>Configuration property:</b> Add an implementation class.</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_locale">BEAN_locale</a></span></code> +<div class="block"><b>Configuration property:</b> Locale.</div> +</td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_mediaType">BEAN_mediaType</a></span></code> +<div class="block"><b>Configuration property:</b> Media type.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_methodVisibility">BEAN_methodVisibility</a></span></code> <div class="block"><b>Configuration property:</b> Look for bean methods with the specified minimum visibility.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses">BEAN_notBeanClasses</a></span></code> <div class="block"><b>Configuration property:</b> Classes to be excluded from consideration as being beans.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses_add">BEAN_notBeanClasses_add</a></span></code> <div class="block"><b>Configuration property:</b> Add to classes that should not be considered beans.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_notBeanClasses_remove">BEAN_notBeanClasses_remove</a></span></code> <div class="block"><b>Configuration property:</b> Remove from classes that should not be considered beans.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages">BEAN_notBeanPackages</a></span></code> <div class="block"><b>Configuration property:</b> Packages whose classes should not be considered beans.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages_add">BEAN_notBeanPackages_add</a></span></code> <div class="block"><b>Configuration property:</b> Add to packages whose classes should not be considered beans.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_notBeanPackages_remove">BEAN_notBeanPackages_remove</a></span></code> <div class="block"><b>Configuration property:</b> Remove from packages whose classes should not be considered beans.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps">BEAN_pojoSwaps</a></span></code> <div class="block"><b>Configuration property:</b> POJO swaps to apply to Java objects.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps_add">BEAN_pojoSwaps_add</a></span></code> <div class="block"><b>Configuration property:</b> Add to POJO swap classes.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_pojoSwaps_remove">BEAN_pojoSwaps_remove</a></span></code> <div class="block"><b>Configuration property:</b> Remove from POJO swap classes.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_sortProperties">BEAN_sortProperties</a></span></code> <div class="block"><b>Configuration property:</b> Sort bean properties in alphabetical order.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_timeZone">BEAN_timeZone</a></span></code> +<div class="block"><b>Configuration property:</b> TimeZone.</div> +</td> +</tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#BEAN_useInterfaceProxies">BEAN_useInterfaceProxies</a></span></code> @@ -735,106 +818,61 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>></code></td> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#Z:Z_class--">_class</a></span>()</code> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>Class</code>.</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="../../../org/apache/juneau/BeanContext.html#convertToType-java.lang.Object-java.lang.Class-">convertToType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code> -<div class="block">Converts the specified value to the specified class type.</div> +<td class="colFirst"><code><a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#asMap--">asMap</a></span>()</code> +<div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</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="../../../org/apache/juneau/BeanContext.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-">convertToType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, - <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)</code> -<div class="block">Casts the specified value into the specified type.</div> +<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#createSession--">createSession</a></span>()</code> +<div class="block">Create a new bean session based on the properties defined on this context.</div> </td> </tr> <tr id="i3" class="rowColor"> -<td class="colFirst"><code><T> T</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#convertToType-java.lang.Object-java.lang.Object-java.lang.Class-">convertToType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code> -<div class="block">Same as <a href="../../../org/apache/juneau/BeanContext.html#convertToType-java.lang.Object-java.lang.Class-"><code>convertToType(Object, Class)</code></a>, except used for instantiating inner member classes that must - be instantiated within another class instance.</div> +<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#createSession-org.apache.juneau.ObjectMap-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a></span>(<a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale, + <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> timeZone, + <a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> mediaType)</code> +<div class="block">Create a new bean session based on the properties defined on this context.</div> </td> </tr> <tr id="i4" class="altColor"> -<td class="colFirst"><code><T> T</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#convertToType-java.lang.Object-java.lang.Object-org.apache.juneau.ClassMeta-">convertToType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, - <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)</code> -<div class="block">Same as <a href="../../../org/apache/juneau/BeanContext.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>convertToType(Object, ClassMeta)</code></a>, except used for instantiating inner member classes that must - be instantiated within another class instance.</div> -</td> -</tr> -<tr id="i5" class="rowColor"> <td class="colFirst"><code>protected static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#dumpCacheStats--">dumpCacheStats</a></span>()</code> <div class="block">Prints meta cache statistics to <code>System.out</code>.</div> </td> </tr> -<tr id="i6" class="altColor"> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td> </tr> -<tr id="i7" class="rowColor"> -<td class="colFirst"><code>protected <T> <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform">BeanFilter</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#findBeanFilter-java.lang.Class-">findBeanFilter</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> -<div class="block">Returns the <a href="../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a> associated with the specified class, or <jk>null</jk> if there is no - bean filter associated with the class.</div> -</td> -</tr> -<tr id="i8" class="altColor"> -<td class="colFirst"><code>protected <T> <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#findPojoSwap-java.lang.Class-">findPojoSwap</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> -<div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with the specified class, or <jk>null</jk> if there is no - pojo swap associated with the class.</div> -</td> -</tr> -<tr id="i9" class="rowColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#forBean-T-">forBean</a></span>(T o)</code> -<div class="block">Wraps an object inside a <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e.</div> -</td> -</tr> -<tr id="i10" class="altColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#forBean-T-java.lang.Class-">forBean</a></span>(T o, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? super T> c)</code> -<div class="block">Wraps an object inside a <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e.: a modifiable <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>) - defined as a bean for one of its class, a super class, or an implemented interface.</div> -</td> -</tr> -<tr id="i11" class="rowColor"> -<td class="colFirst"><code><a href="../../../org/apache/juneau/BeanDictionary.html" title="class in org.apache.juneau">BeanDictionary</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getBeanDictionary--">getBeanDictionary</a></span>()</code> -<div class="block">Returns the bean dictionary defined in this bean context defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary"><code>BEAN_beanDictionary</code></a>.</div> -</td> -</tr> -<tr id="i12" class="altColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getBeanMeta-java.lang.Class-">getBeanMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> <div class="block">Returns the <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><code>BeanMeta</code></a> class for the specified class.</div> </td> </tr> -<tr id="i13" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#getBeanTypePropertyName--">getBeanTypePropertyName</a></span>()</code> -<div class="block">Returns the type property name as defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanTypePropertyName"><code>BEAN_beanTypePropertyName</code></a>.</div> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getBeanRegistry--">getBeanRegistry</a></span>()</code> +<div class="block">Returns the bean registry defined in this bean context defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanDictionary"><code>BEAN_beanDictionary</code></a>.</div> </td> </tr> -<tr id="i14" class="altColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassLoader--">getClassLoader</a></span>()</code> -<div class="block">Returns the classloader associated with this bean context.</div> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#getBeanTypePropertyName--">getBeanTypePropertyName</a></span>()</code> +<div class="block">Returns the type property name as defined by <a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanTypePropertyName"><code>BEAN_beanTypePropertyName</code></a>.</div> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i9" class="rowColor"> <td class="colFirst"><code>protected <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMeta-org.apache.juneau.annotation.BeanProperty-java.lang.reflect.Type-java.util.Map-">getClassMeta</a></span>(<a href="../../../org/apache/juneau/annotation/BeanProperty.html" title="annotation in org.apache.juneau.annotation">BeanProperty</a> p, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> t, @@ -843,190 +881,95 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap may be present.</div> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i10" class="altColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.Class-">getClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> <div class="block">Construct a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> object.</div> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.Object...-">getClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... o)</code> +<div class="block">Resolves the following types of objects: + + <code>Object[2]</code> containing <code>{Class<? extends Collection>, Object}</code> + where the 2nd entry is the entry type which can be anything on this list.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.Object-">getClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> +<div class="block">Resolves the following types of objects: + + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> + <code>Object[2]</code> containing <code>{Class<? extends Collection>, Object}</code> + where the 2nd entry is the entry type which can be anything on this list.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.reflect.Type-">getClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> o)</code> <div class="block">Constructs a ClassMeta object given the specified object and parameters.</div> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMetaForObject-T-">getClassMetaForObject</a></span>(T o)</code> <div class="block">Shortcut for calling <code>getClassMeta(o.getClass())</code>.</div> </td> </tr> -<tr id="i19" class="rowColor"> -<td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMetaFromString-java.lang.String-">getClassMetaFromString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> s)</code> -<div class="block">Converts class name strings to ClassMeta objects.</div> -</td> -</tr> -<tr id="i20" class="altColor"> -<td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?>[]</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getClassMetas-java.lang.Class:A-">getClassMetas</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] classes)</code> -<div class="block">Given an array of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> objects, returns an array of corresponding <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> objects.</div> -</td> -</tr> -<tr id="i21" class="rowColor"> -<td class="colFirst"><code><E,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><E>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getCollectionClassMeta-java.lang.Class-java.lang.Class-">getCollectionClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><E> elementType)</code> -<div class="block">Construct a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> object.</div> -</td> -</tr> -<tr id="i22" class="altColor"> -<td class="colFirst"><code><E,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><E>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getCollectionClassMeta-java.lang.Class-org.apache.juneau.ClassMeta-">getCollectionClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><E> elementType)</code> -<div class="block">Construct a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> object.</div> -</td> -</tr> -<tr id="i23" class="rowColor"> -<td class="colFirst"><code><T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getCollectionClassMeta-java.lang.Class-java.lang.reflect.Type-">getCollectionClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> elementType)</code> -<div class="block">Construct a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> object.</div> -</td> -</tr> -<tr id="i24" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>protected <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><? extends T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getImplClassConstructor-java.lang.Class-org.apache.juneau.Visibility-">getImplClassConstructor</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> v)</code> <div class="block">Gets the no-arg constructor for the specified class.</div> </td> </tr> -<tr id="i25" class="rowColor"> -<td class="colFirst"><code><K,V,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getMapClassMeta-java.lang.Class-java.lang.Class-java.lang.Class-">getMapClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><K> keyType, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><V> valueType)</code> -<div class="block">Construct a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> object.</div> -</td> -</tr> -<tr id="i26" class="altColor"> -<td class="colFirst"><code><K,V,T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getMapClassMeta-java.lang.Class-org.apache.juneau.ClassMeta-org.apache.juneau.ClassMeta-">getMapClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><K> keyType, - <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><V> valueType)</code> -<div class="block">Construct a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> object.</div> -</td> -</tr> -<tr id="i27" class="rowColor"> -<td class="colFirst"><code><T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>><br><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#getMapClassMeta-java.lang.Class-java.lang.reflect.Type-java.lang.reflect.Type-">getMapClassMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> keyType, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> valueType)</code> -<div class="block">Construct a <code>ClassMeta</code> wrapper around a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> object.</div> -</td> -</tr> -<tr id="i28" class="altColor"> -<td class="colFirst"><code>protected boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#hasChildPojoSwaps-java.lang.Class-">hasChildPojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> -<div class="block">Checks whether a class has a <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it in this bean context.</div> -</td> -</tr> -<tr id="i29" class="rowColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#hashCode--">hashCode</a></span>()</code> </td> </tr> -<tr id="i30" class="altColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#hasSameCache-org.apache.juneau.BeanContext-">hasSameCache</a></span>(<a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> bc)</code> <div class="block">Returns <jk>true</jk> if the specified bean context shares the same cache as this bean context.</div> </td> </tr> -<tr id="i31" class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#isBean-java.lang.Class-">isBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> -<div class="block">Determines whether the specified class matches the requirements on this context of being a bean.</div> -</td> -</tr> -<tr id="i32" class="altColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#isBean-java.lang.Object-">isBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> -<div class="block">Determines whether the specified object matches the requirements on this context of being a bean.</div> -</td> -</tr> -<tr id="i33" class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#isIgnoreUnknownBeanProperties--">isIgnoreUnknownBeanProperties</a></span>()</code> -<div class="block">Bean property getter: <property>ignoreUnknownBeanProperties</property>.</div> -</td> -</tr> -<tr id="i34" class="altColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code>protected boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#isNotABean-java.lang.Class-">isNotABean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Determines whether the specified class is ignored as a bean class based on the various exclusion parameters specified on this context class.</div> </td> </tr> -<tr id="i35" class="rowColor"> -<td class="colFirst"><code><T> T</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#newBean-java.lang.Class-">newBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> -<div class="block">Creates a new empty bean of the specified type, except used for instantiating inner member classes that must - be instantiated within another class instance.</div> -</td> -</tr> -<tr id="i36" class="altColor"> -<td class="colFirst"><code><T> T</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#newBean-java.lang.Object-java.lang.Class-">newBean</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> -<div class="block">Same as <a href="../../../org/apache/juneau/BeanContext.html#newBean-java.lang.Class-"><code>newBean(Class)</code></a>, except used for instantiating inner member classes that must - be instantiated within another class instance.</div> -</td> -</tr> -<tr id="i37" class="rowColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#newBeanMap-java.lang.Class-">newBeanMap</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> -<div class="block">Creates a new <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e.</div> -</td> -</tr> -<tr id="i38" class="altColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#newBeanMap-java.lang.Object-java.lang.Class-">newBeanMap</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer, - <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code> -<div class="block">Same as <a href="../../../org/apache/juneau/BeanContext.html#newBeanMap-java.lang.Class-"><code>newBeanMap(Class)</code></a>, except used for instantiating inner member classes that must - be instantiated within another class instance.</div> -</td> -</tr> -<tr id="i39" class="rowColor"> -<td class="colFirst"><code><T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code>protected <T> <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanContext.html#normalizeClassMeta-org.apache.juneau.ClassMeta-">normalizeClassMeta</a></span>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> cm)</code> <div class="block">Returns the class type bound to this bean context if the specified class type is from another bean context.</div> </td> </tr> -<tr id="i40" class="altColor"> -<td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> +<tr id="i20" class="altColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#object--">object</a></span>()</code> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>Object</code>.</div> </td> </tr> -<tr id="i41" class="rowColor"> -<td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><<a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#string--">string</a></span>()</code> <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> representation for the class <code>String</code>.</div> </td> </tr> -<tr id="i42" class="altColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#toArray-org.apache.juneau.ClassMeta-java.util.Collection-">toArray</a></span>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> type, - <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> list)</code> -<div class="block">Converts the contents of the specified list into an array.</div> -</td> -</tr> -<tr id="i43" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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="../../../org/apache/juneau/BeanContext.html#toString--">toString</a></span>()</code> </td> -</tr> </table> <ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.Context"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.juneau.<a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a></h3> +<code><a href="../../../org/apache/juneau/Context.html#toString--">toString</a></code></li> +</ul> +<ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> @@ -1053,13 +996,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beansRequireDefaultConstructor</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.389">BEAN_beansRequireDefaultConstructor</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.443">BEAN_beansRequireDefaultConstructor</a></pre> <div class="block"><b>Configuration property:</b> Beans require no-arg constructors. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beansRequireDefaultConstructor"</js> <li><b>Data type:</b> <code>Boolean</code> <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> If <jk>true</jk>, a Java class must implement a default no-arg constructor to be considered a bean. @@ -1077,13 +1021,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beansRequireSerializable</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.404">BEAN_beansRequireSerializable</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.459">BEAN_beansRequireSerializable</a></pre> <div class="block"><b>Configuration property:</b> Beans require <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> interface. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beansRequireSerializable"</js> <li><b>Data type:</b> <code>Boolean</code> <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> If <jk>true</jk>, a Java class must implement the <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> interface to be considered a bean. @@ -1101,13 +1046,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beansRequireSettersForGetters</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.418">BEAN_beansRequireSettersForGetters</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.474">BEAN_beansRequireSettersForGetters</a></pre> <div class="block"><b>Configuration property:</b> Beans require setters for getters. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beansRequireSettersForGetters"</js> <li><b>Data type:</b> <code>Boolean</code> <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> If <jk>true</jk>, only getters that have equivalent setters will be considered as properties on a bean. @@ -1124,13 +1070,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beansRequireSomeProperties</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.433">BEAN_beansRequireSomeProperties</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.490">BEAN_beansRequireSomeProperties</a></pre> <div class="block"><b>Configuration property:</b> Beans require at least one property. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beansRequireSomeProperties"</js> <li><b>Data type:</b> <code>Boolean</code> <li><b>Default:</b> <jk>true</jk> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> If <jk>true</jk>, then a Java class must contain at least 1 property to be considered a bean. @@ -1148,13 +1095,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beanMapPutReturnsOldValue</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.448">BEAN_beanMapPutReturnsOldValue</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.506">BEAN_beanMapPutReturnsOldValue</a></pre> <div class="block"><b>Configuration property:</b> <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a> method will return old property value. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beanMapPutReturnsOldValue"</js> <li><b>Data type:</b> <code>Boolean</code> <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> If <jk>true</jk>, then the <a href="../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a> method will return old property values. @@ -1172,13 +1120,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beanConstructorVisibility</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.460">BEAN_beanConstructorVisibility</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.519">BEAN_beanConstructorVisibility</a></pre> <div class="block"><b>Configuration property:</b> Look for bean constructors with the specified minimum visibility. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beanConstructorVisibility"</js> <li><b>Data type:</b> <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a> <li><b>Default:</b> <a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p></div> <dl> @@ -1193,13 +1142,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beanClassVisibility</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.475">BEAN_beanClassVisibility</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.535">BEAN_beanClassVisibility</a></pre> <div class="block"><b>Configuration property:</b> Look for bean classes with the specified minimum visibility. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beanClassVisibility"</js> <li><b>Data type:</b> <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a> <li><b>Default:</b> <a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> Classes are not considered beans unless they meet the minimum visibility requirements. @@ -1217,13 +1167,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_beanFieldVisibility</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.492">BEAN_beanFieldVisibility</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.553">BEAN_beanFieldVisibility</a></pre> <div class="block"><b>Configuration property:</b> Look for bean fields with the specified minimum visibility. <p> <ul> <li><b>Name:</b> <js>"BeanContext.beanFieldVisibility"</js> <li><b>Data type:</b> <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a> <li><b>Default:</b> <a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> Fields are not considered bean properties unless they meet the minimum visibility requirements. @@ -1243,13 +1194,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_methodVisibility</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.507">BEAN_methodVisibility</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.569">BEAN_methodVisibility</a></pre> <div class="block"><b>Configuration property:</b> Look for bean methods with the specified minimum visibility. <p> <ul> <li><b>Name:</b> <js>"BeanContext.methodVisibility"</js> <li><b>Data type:</b> <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><code>Visibility</code></a> <li><b>Default:</b> <a href="../../../org/apache/juneau/Visibility.html#PUBLIC"><code>Visibility.PUBLIC</code></a> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> Methods are not considered bean getters/setters unless they meet the minimum visibility requirements. @@ -1267,13 +1219,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_useJavaBeanIntrospector</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.521">BEAN_useJavaBeanIntrospector</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.584">BEAN_useJavaBeanIntrospector</a></pre> <div class="block"><b>Configuration property:</b> Use Java <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> for determining bean properties. <p> <ul> <li><b>Name:</b> <js>"BeanContext.useJavaBeanIntrospector"</js> <li><b>Data type:</b> <code>Boolean</code> <li><b>Default:</b> <jk>false</jk> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> Using the built-in Java bean introspector will not pick up fields or non-standard getters/setters. @@ -1290,13 +1243,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_useInterfaceProxies</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.535">BEAN_useInterfaceProxies</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.599">BEAN_useInterfaceProxies</a></pre> <div class="block"><b>Configuration property:</b> Use interface proxies. <p> <ul> <li><b>Name:</b> <js>"BeanContext.useInterfaceProxies"</js> <li><b>Data type:</b> <code>Boolean</code> <li><b>Default:</b> <jk>true</jk> + <li><b>Session-overridable:</b> <jk>false</jk> </ul> <p> If <jk>true</jk>, then interfaces will be instantiated as proxy classes through the use of an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect"><code>InvocationHandler</code></a> @@ -1313,13 +1267,14 @@ extends <a href="../../../org/apache/juneau/Context.html" title="class in org.ap <ul class="blockList"> <li class="blockList"> <h4>BEAN_ignoreUnknownBeanProperties</h4> -<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/BeanContext.html#line.549">BEAN_ignoreUnknownBeanProperties</a></pre> +<pre>public static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Strin
<TRUNCATED>
