Examples of PrefixedValueSupport


Examples of com.sun.enterprise.admin.dottedname.valueaccessor.PrefixedValueSupport

    public Attribute
  getValue( ObjectName objectName, String valueName ) throws Exception
  {
    Attribute  attr  = null;
    PropertyValueAccessorBase propertyAccessor=
                 (new PrefixedValueSupport(getMBS()).getPrefixedValueAccessor(valueName));
    if ( propertyAccessor!=null )
    {
      attr  = propertyAccessor.getValue( objectName,
                      propertyAccessor.extractPrefixedValueName(valueName) );
    }
View Full Code Here

Examples of com.sun.enterprise.admin.dottedname.valueaccessor.PrefixedValueSupport

  {
    Attribute  resultAttr  = null;
   
    final String  valueName  = attr.getName();
    PropertyValueAccessorBase propertyAccessor=
                 (new PrefixedValueSupport(getMBS()).getPrefixedValueAccessor(valueName));
        if ( propertyAccessor!=null )
    {
      final String  propertyName = propertyAccessor.extractPrefixedValueName(valueName);
      final Attribute  newAttr  = new Attribute( propertyName, attr.getValue() );
      resultAttr  = propertyAccessor.setValue( objectName, newAttr );
View Full Code Here

Examples of com.sun.enterprise.admin.dottedname.valueaccessor.PrefixedValueSupport

    final String  lastPart  = (String)parts.get( numParts - 1 );
    int        numPrefixParts  = 0;
   
    // If the part preceeding the value name is prefix
    // then
        PrefixedValueSupport prop_support = new PrefixedValueSupport(null);
        final String dottedName = DottedName.toString(mDottedName.getDomain(),
                                                mDottedName.getScope(),
                                                mDottedName.getParts(), false);
        final boolean  isPrefixed = prop_support.isPrefixedValueDottedName(dottedName);
    if ( isPrefixed )
    {
      mValueName    = prop_support.getPrefixedValueName(dottedName, true);
      numPrefixParts  = numParts - 2;
    }
    else
    {
      // it's a regular value name; does not include prefix
View Full Code Here

Examples of com.sun.enterprise.admin.dottedname.valueaccessor.PrefixedValueSupport

                        // all attributes *and* all properties
                        allValueNames  = getAllPropertyNames( new PropertyValueAccessor(getMBS()), objectName );
                        allValueNames.addAll(getAllPropertyNames( new SystemPropertyValueAccessor(getMBS()), objectName ));
                        allValueNames.addAll( getAllValueNames( getMBS(), objectName ) );
                    }
                    else if ((prop_accessor=(new PrefixedValueSupport(getMBS()).getPrefixedValueAccessor(suffix)))!=null)
                    {
                        allValueNames  = getAllPropertyNames( prop_accessor, objectName );
                    }
                    else
                    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.