* @exception IllegalStateException if the popped object is not
* of the correct type
*/
public void end(String namespace, String name) throws Exception {
ManagedPropertyBean top;
try {
top = (ManagedPropertyBean) digester.pop();
} catch (Exception e) {
throw new IllegalStateException("Popped object is not a " +
CLASS_NAME + " instance");
}
ManagedBeanBean mbb = (ManagedBeanBean) digester.peek();
validate(mbb.getManagedBeanName(), top);
ManagedPropertyBean old =
mbb.getManagedProperty(top.getPropertyName());
if (old == null) {
if (digester.getLogger().isDebugEnabled()) {
digester.getLogger().debug("[ManagedPropertyRule]{" +
digester.getMatch() +