org.mule.config.builders
Class ObjectGetOrCreateRule
java.lang.Object
org.apache.commons.digester.Rule
org.apache.commons.digester.ObjectCreateRule
org.mule.config.builders.ObjectGetOrCreateRule
- public class ObjectGetOrCreateRule
- extends org.apache.commons.digester.ObjectCreateRule
A digester rule that will either create an object of look it up from a container.
Fields inherited from class org.apache.commons.digester.ObjectCreateRule |
attributeName, className |
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Constructor Summary |
ObjectGetOrCreateRule(String defaultImpl,
String className,
boolean classRefRequired,
String containerMethodName)
|
ObjectGetOrCreateRule(String defaultImpl,
String className,
String containerMethodName)
|
ObjectGetOrCreateRule(String defaultImpl,
String className,
String refAttrib,
boolean classRefRequired,
String containerMethodName)
|
ObjectGetOrCreateRule(String defaultImpl,
String className,
String refAttrib,
String classAttrib,
boolean classRefRequired,
String containerMethodName)
|
ObjectGetOrCreateRule(String defaultImpl,
String className,
String refAttrib,
String containerAttrib,
String classAttrib,
boolean classRefRequired,
String containerMethodName)
|
Method Summary |
void |
begin(Attributes attributes)
This method is deprecated in the Digester API however the API still uses it
and we must overload it in order to customse the ObjectCreateRuleBehaviour |
protected UMOContainerContext |
getContainer()
|
Methods inherited from class org.apache.commons.digester.ObjectCreateRule |
end, toString |
Methods inherited from class org.apache.commons.digester.Rule |
begin, body, body, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI |
DEFAULT_REF_ATTRIBUTE
public static final String DEFAULT_REF_ATTRIBUTE
- See Also:
- Constant Field Values
DEFAULT_CLASSNAME_ATTRIBUTE
public static final String DEFAULT_CLASSNAME_ATTRIBUTE
- See Also:
- Constant Field Values
refAttrib
protected String refAttrib
classAttrib
protected String classAttrib
classRefRequired
protected boolean classRefRequired
containerMethodName
protected String containerMethodName
context
protected UMOContainerContext context
containerAttrib
protected String containerAttrib
ObjectGetOrCreateRule
public ObjectGetOrCreateRule(String defaultImpl,
String className,
String containerMethodName)
ObjectGetOrCreateRule
public ObjectGetOrCreateRule(String defaultImpl,
String className,
boolean classRefRequired,
String containerMethodName)
ObjectGetOrCreateRule
public ObjectGetOrCreateRule(String defaultImpl,
String className,
String refAttrib,
boolean classRefRequired,
String containerMethodName)
ObjectGetOrCreateRule
public ObjectGetOrCreateRule(String defaultImpl,
String className,
String refAttrib,
String classAttrib,
boolean classRefRequired,
String containerMethodName)
ObjectGetOrCreateRule
public ObjectGetOrCreateRule(String defaultImpl,
String className,
String refAttrib,
String containerAttrib,
String classAttrib,
boolean classRefRequired,
String containerMethodName)
begin
public void begin(Attributes attributes)
throws Exception
- This method is deprecated in the Digester API however the API still uses it
and we must overload it in order to customse the ObjectCreateRuleBehaviour
- Parameters:
attributes
-
- Throws:
Exception
getContainer
protected UMOContainerContext getContainer()
throws NoSuchMethodException,
IllegalAccessException,
InvocationTargetException
- Throws:
NoSuchMethodException
IllegalAccessException
InvocationTargetException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.