FileDocCategorySizeDatePackage
Action.javaAPI DocGlassfish v2 API3884Tue Feb 21 12:28:14 GMT 2006com.sun.enterprise.config.serverbeans

Action

public class Action extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class Action matches the DTD element action

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
Constructors Summary
public Action()



	  
		this(Common.USE_DEFAULT_VALUES);
	
public Action(int options)

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(0);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("Action\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetActionMbeanName()
Getter for ActionMbeanName of the Element action

return
the ActionMbeanName of the Element action

		return getAttributeValue(ServerTags.ACTION_MBEAN_NAME);
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
	return null;
	
protected java.lang.StringgetRelativeXPath()
get the xpath representation for this element returns something like abc[@name='value'] or abc depending on the type of the bean

	    String ret = null;
	    ret = "action";
	    return (null != ret ? ret.trim() : null);
	
voidinitialize(int options)


	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetActionMbeanName(java.lang.String v, boolean overwrite)
Modify the ActionMbeanName of the Element action

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.ACTION_MBEAN_NAME, v, overwrite);
	
public voidsetActionMbeanName(java.lang.String v)
Modify the ActionMbeanName of the Element action

param
v the new value

		setAttributeValue(ServerTags.ACTION_MBEAN_NAME, v);
	
public voidvalidate()