FileDocCategorySizeDatePackage
PrefixedValueSupport.javaAPI DocGlassfish v2 API3547Fri May 04 22:24:08 BST 2007com.sun.enterprise.admin.dottedname.valueaccessor

PrefixedValueSupport

public class PrefixedValueSupport extends Object

Fields Summary
PropertyValueAccessorBase[]
accessors
Constructors Summary
public PrefixedValueSupport(MBeanServerConnection conn)

    
      
    
        accessors = new PropertyValueAccessorBase[]{
           new PropertyValueAccessor(conn), // regular property accessor
           new SystemPropertyValueAccessor(conn) // system property accessor
        };
    
Methods Summary
public PropertyValueAccessorBasegetPrefixedValueAccessor(java.lang.String dottedName)

        for(int i=0; i<accessors.length; i++)
            if(accessors[i].isDottedNameForAccessor(dottedName))
               return accessors[i];
        return null;
    
public java.lang.StringgetPrefixedValueName(java.lang.String dottedName)

        return getPrefixedValueName(dottedName, false);
    
public java.lang.StringgetPrefixedValueName(java.lang.String dottedName, boolean bIncludingPrefix)

        PropertyValueAccessorBase acc;
        if((acc=getPrefixedValueAccessor(dottedName))!=null)
               return acc.extractPrefixedValueName(dottedName, bIncludingPrefix);
        return null;
    
public booleanisPrefixedValueDottedName(java.lang.String dottedName)

        if(getPrefixedValueAccessor(dottedName)!=null)
                return true;
        return false;