org.apache.shale.tiger.managed.rules
Class ManagedBeanRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.apache.shale.tiger.managed.rules.ManagedBeanRule

public class ManagedBeanRule
extends Rule

Digester rule for processing a <managed-bean> element.


Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
ManagedBeanRule()
          Creates a new instance of ManagedBeanRule.
 
Method Summary
 void begin(String namespace, String name, Attributes attributes)
          Create a new ManagedBeanConfig and push it on to the Digester stack.
 void body(String namespace, String name)
          No body processing for this element.
 void end(String namespace, String name)
          Pop the ManagedBeanConfig instance from the stack, and either add it or merge it with parent information.
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, body, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedBeanRule

public ManagedBeanRule()
Creates a new instance of ManagedBeanRule.

Method Detail

begin

public void begin(String namespace,
                  String name,
                  Attributes attributes)
           throws Exception

Create a new ManagedBeanConfig and push it on to the Digester stack.

Overrides:
begin in class Rule
Parameters:
namespace - Namespace URI of the matching element
name - Local name of the matching element
attributes - Attribute list of the matching element
Throws:
Exception - if a parsing error occurs

body

public void body(String namespace,
                 String name)
          throws Exception

No body processing for this element.

Parameters:
namespace - Namespace URI of the matching element
name - Local name of the matching element
Throws:
Exception - if a parsing error occurs

end

public void end(String namespace,
                String name)
         throws Exception

Pop the ManagedBeanConfig instance from the stack, and either add it or merge it with parent information.

Overrides:
end in class Rule
Parameters:
namespace - Namespace URI of the matching element
name - Local name of the matching element
Throws:
IllegalStateException - if the popped object is not of the correct type
Exception - if an error occurs


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.