org.apache.commons.beanutils.priv
Class PublicSubBean

java.lang.Object
  extended by org.apache.commons.beanutils.priv.PublicSubBean

public class PublicSubBean
extends Object

This class is designed to test the default access jvm problem workaround. The issue is that public methods of a public subclass contained in a default access superclass are returned by reflection but an IllegalAccessException is thrown when they are invoked.

This is the default access superclass

Version:
$Revision: 438363 $ $Date: 2006-08-30 00:48:00 -0400 (Wed, 30 Aug 2006) $
Author:
Robert Burrell Donkin

Constructor Summary
PublicSubBean()
          Package private constructor - can only use factory method to create beans.
 
Method Summary
 String getBar()
           
 String getFoo()
           
 void setBar(String bar)
           
 void setFoo(String foo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicSubBean

public PublicSubBean()
Package private constructor - can only use factory method to create beans.

Method Detail

getFoo

public String getFoo()

setFoo

public void setFoo(String foo)

getBar

public String getBar()

setBar

public void setBar(String bar)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.