Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DEF3C200B8F for ; Thu, 15 Sep 2016 23:35:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DD72B160ABA; Thu, 15 Sep 2016 21:35:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C5D53160ADC for ; Thu, 15 Sep 2016 23:35:44 +0200 (CEST) Received: (qmail 70471 invoked by uid 500); 15 Sep 2016 21:35:43 -0000 Mailing-List: contact commits-help@juneau.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@juneau.incubator.apache.org Delivered-To: mailing list commits@juneau.incubator.apache.org Received: (qmail 69724 invoked by uid 99); 15 Sep 2016 21:35:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 21:35:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7F796188212 for ; Thu, 15 Sep 2016 21:28:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id NqgD1CTXw-WM for ; Thu, 15 Sep 2016 21:28:20 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id B939C5FC9B for ; Thu, 15 Sep 2016 21:27:59 +0000 (UTC) Received: (qmail 48506 invoked by uid 99); 15 Sep 2016 21:27:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 21:27:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C6C4EE00C4; Thu, 15 Sep 2016 21:27:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jamesbognar@apache.org To: commits@juneau.incubator.apache.org Date: Thu, 15 Sep 2016 21:28:41 -0000 Message-Id: In-Reply-To: <55276c9b13e44831b3260eeadef0b06f@git.apache.org> References: <55276c9b13e44831b3260eeadef0b06f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [46/51] [partial] incubator-juneau-website git commit: Update javadocs archived-at: Thu, 15 Sep 2016 21:35:47 -0000 http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/d81e61b1/content/apidocs/org/apache/juneau/BeanContext.html ---------------------------------------------------------------------- diff --git a/content/apidocs/org/apache/juneau/BeanContext.html b/content/apidocs/org/apache/juneau/BeanContext.html index 1090e56..d94990d 100644 --- a/content/apidocs/org/apache/juneau/BeanContext.html +++ b/content/apidocs/org/apache/juneau/BeanContext.html @@ -18,7 +18,7 @@ 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}; +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 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"; - + <T extends Map>
ClassMeta<T>
getMapClassMeta(Class<T> c, Type keyType, @@ -706,55 +925,55 @@ extends Construct a ClassMeta wrapper around a Map object. - + protected boolean hasChildPojoSwaps(Class<?> c)
Checks whether a class has a PojoSwap associated with it in this bean context.
- + int hashCode()  - + boolean hasSameCache(BeanContext bc)
Returns true if the specified bean context shares the same cache as this bean context.
- + boolean isBean(Class<?> c)
Determines whether the specified class matches the requirements on this context of being a bean.
- + boolean isBean(Object o)
Determines whether the specified object matches the requirements on this context of being a bean.
- + boolean isIgnoreUnknownBeanProperties()
Bean property getter: ignoreUnknownBeanProperties.
- + protected boolean isNotABean(Class<?> c)
Determines whether the specified class is ignored as a bean class based on the various exclusion parameters specified on this context class.
- + <T> T newBean(Class<T> c)
Creates a new empty bean of the specified type, except used for instantiating inner member classes that must be instantiated within another class instance.
- + <T> T newBean(Object outer, Class<T> c) @@ -762,13 +981,13 @@ extends + <T> BeanMap<T> newBeanMap(Class<T> c)
Creates a new BeanMap object (i.e.
- + <T> BeanMap<T> newBeanMap(Object outer, Class<T> c) @@ -776,33 +995,33 @@ extends + <T> ClassMeta<T> normalizeClassMeta(ClassMeta<T> cm)
Returns the class type bound to this bean context if the specified class type is from another bean context.
- + ClassMeta<Object> object()
Returns a reusable ClassMeta representation for the class Object.
- + ClassMeta<String> string()
Returns a reusable ClassMeta representation for the class String.
- + Object toArray(ClassMeta<?> type, Collection<?> list)
Converts the contents of the specified list into an array.
- + String toString()  @@ -834,8 +1053,14 @@ extends
  • BEAN_beansRequireDefaultConstructor

    -
    public static final String BEAN_beansRequireDefaultConstructor
    -
    Require no-arg constructor (Boolean, default=false). +
    public static final String BEAN_beansRequireDefaultConstructor
    +
    Configuration property: Beans require no-arg constructors. +

    +

      +
    • Name: "BeanContext.beansRequireDefaultConstructor" +
    • Data type: Boolean +
    • Default: false +

    If true, a Java class must implement a default no-arg constructor to be considered a bean.

    @@ -852,8 +1077,14 @@ extends

  • BEAN_beansRequireSerializable

    -
    public static final String BEAN_beansRequireSerializable
    -
    Require Serializable interface (Boolean, default=false). +
    public static final String BEAN_beansRequireSerializable
    +
    Configuration property: Beans require Serializable interface. +

    +

      +
    • Name: "BeanContext.beansRequireSerializable" +
    • Data type: Boolean +
    • Default: false +

    If true, a Java class must implement the Serializable interface to be considered a bean.

    @@ -870,8 +1101,14 @@ extends

  • BEAN_beansRequireSettersForGetters

    -
    public static final String BEAN_beansRequireSettersForGetters
    -
    Require setters for getters (Boolean, default=false). +
    public static final String BEAN_beansRequireSettersForGetters
    +
    Configuration property: Beans require setters for getters. +

    +

      +
    • Name: "BeanContext.beansRequireSettersForGetters" +
    • Data type: Boolean +
    • Default: false +

    If true, only getters that have equivalent setters will be considered as properties on a bean. Otherwise, they will be ignored.

    @@ -887,8 +1124,14 @@ extends
  • BEAN_beansRequireSomeProperties

    -
    public static final String BEAN_beansRequireSomeProperties
    -
    Require some properties (Boolean, default=true). +
    public static final String BEAN_beansRequireSomeProperties
    +
    Configuration property: Beans require at least one property. +

    +

      +
    • Name: "BeanContext.beansRequireSomeProperties" +
    • Data type: Boolean +
    • Default: true +

    If true, then a Java class must contain at least 1 property to be considered a bean.

    @@ -905,8 +1148,14 @@ extends

  • BEAN_beanMapPutReturnsOldValue

    -
    public static final String BEAN_beanMapPutReturnsOldValue
    -
    Put returns old value (Boolean, default=false). +
    public static final String BEAN_beanMapPutReturnsOldValue
    +
    Configuration property: BeanMap.put() method will return old property value. +

    +

      +
    • Name: "BeanContext.beanMapPutReturnsOldValue" +
    • Data type: Boolean +
    • Default: false +

    If true, then the BeanMap.put() method will return old property values.

    @@ -923,8 +1172,15 @@ extends

  • BEAN_beanConstructorVisibility

    -
    public static final String BEAN_beanConstructorVisibility
    -
    Look for bean constructors with the specified minimum visibility (Visibility, default=Visibility.PUBLIC).
    +
    public static final String BEAN_beanConstructorVisibility
    +
    Configuration property: Look for bean constructors with the specified minimum visibility. +

    +

    +

    See Also:
    Constant Field Values
    @@ -937,8 +1193,14 @@ extends
  • BEAN_beanClassVisibility

    -
    public static final String BEAN_beanClassVisibility
    -
    Look for bean classes with the specified minimum visibility (Visibility, default=Visibility.PUBLIC). +
    public static final String BEAN_beanClassVisibility
    +
    Configuration property: Look for bean classes with the specified minimum visibility. +

    +

    Classes are not considered beans unless they meet the minimum visibility requirements. For example, if the visibility is PUBLIC and the bean class is protected, then @@ -955,8 +1217,14 @@ extends

  • BEAN_beanFieldVisibility

    -
    public static final String BEAN_beanFieldVisibility
    -
    Look for bean fields with the specified minimum visibility (Visibility, default=Visibility.PUBLIC). +
    public static final String BEAN_beanFieldVisibility
    +
    Configuration property: Look for bean fields with the specified minimum visibility. +

    +

    Fields are not considered bean properties unless they meet the minimum visibility requirements. For example, if the visibility is PUBLIC and the bean field is protected, then @@ -975,8 +1243,14 @@ extends

  • BEAN_methodVisibility

    -
    public static final String BEAN_methodVisibility
    -
    Look for bean methods with the specified minimum visibility (Visibility, default=Visibility.PUBLIC). +
    public static final String BEAN_methodVisibility
    +
    Configuration property: Look for bean methods with the specified minimum visibility. +

    +

    Methods are not considered bean getters/setters unless they meet the minimum visibility requirements. For example, if the visibility is PUBLIC and the bean method is protected, then @@ -993,8 +1267,14 @@ extends

  • BEAN_useJavaBeanIntrospector

    -
    public static final String BEAN_useJavaBeanIntrospector
    -
    Use Java Introspector for determining bean properties (Boolean, default=false). +
    public static final String BEAN_useJavaBeanIntrospector
    +
    Configuration property: Use Java Introspector for determining bean properties. +

    +

      +
    • Name: "BeanContext.useJavaBeanIntrospector" +
    • Data type: Boolean +
    • Default: false +

    Using the built-in Java bean introspector will not pick up fields or non-standard getters/setters. Most @Bean annotations will be ignored.

    @@ -1010,8 +1290,14 @@ extends
  • BEAN_useInterfaceProxies

    -
    public static final String BEAN_useInterfaceProxies
    -
    Use interface proxies (Boolean, default=true). +
    public static final String BEAN_useInterfaceProxies
    +
    Configuration property: Use interface proxies. +

    +

      +
    • Name: "BeanContext.useInterfaceProxies" +
    • Data type: Boolean +
    • Default: true +

    If true, then interfaces will be instantiated as proxy classes through the use of an InvocationHandler if there is no other way of instantiating them.

    @@ -1027,8 +1313,14 @@ extends
  • BEAN_ignoreUnknownBeanProperties

    -
    public static final String BEAN_ignoreUnknownBeanProperties
    -
    Ignore unknown properties (Boolean, default=false). +
    public static final String BEAN_ignoreUnknownBeanProperties
    +
    Configuration property: Ignore unknown properties. +

    +

      +
    • Name: "BeanContext.ignoreUnknownBeanProperties" +
    • Data type: Boolean +
    • Default: false +

    If true, trying to set a value on a non-existent bean property will silently be ignored. Otherwise, a RuntimeException is thrown.

    @@ -1044,8 +1336,14 @@ extends
  • BEAN_ignoreUnknownNullBeanProperties

    -
    public static final String BEAN_ignoreUnknownNullBeanProperties
    -
    Ignore unknown properties with null values (Boolean, default=true). +
    public static final String BEAN_ignoreUnknownNullBeanProperties
    +
    Configuration property: Ignore unknown properties with null values. +

    +

      +
    • Name: "BeanContext.ignoreUnknownNullBeanProperties" +
    • Data type: Boolean +
    • Default: true +

    If true, trying to set a null value on a non-existent bean property will silently be ignored. Otherwise, a RuntimeException is thrown.

    @@ -1061,8 +1359,14 @@ extends
  • BEAN_ignorePropertiesWithoutSetters

    -
    public static final String BEAN_ignorePropertiesWithoutSetters
    -
    Ignore properties without setters (Boolean, default=true). +
    public static final String BEAN_ignorePropertiesWithoutSetters
    +
    Configuration property: Ignore properties without setters. +

    +

      +
    • Name: "BeanContext.ignorePropertiesWithoutSetters" +
    • Data type: Boolean +
    • Default: true +

    If true, trying to set a value on a bean property without a setter will silently be ignored. Otherwise, a RuntimeException is thrown.

    @@ -1078,8 +1382,14 @@ extends
  • BEAN_ignoreInvocationExceptionsOnGetters

    -
    public static final String BEAN_ignoreInvocationExceptionsOnGetters
    -
    Ignore invocation errors on getters (Boolean, default=false). +
    public static final String BEAN_ignoreInvocationExceptionsOnGetters
    +
    Configuration property: Ignore invocation e