Package com.sun.enterprise.admin.dottedname.valueaccessor

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


 
    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) );
    }
    else
    {
      attr  = mAttributeAccessor.getValue( objectName, valueName );
    }
View Full Code Here


  setValue( ObjectName objectName, Attribute attr ) throws Exception
  {
    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 );
    }
    else
    {
      resultAttr  = mAttributeAccessor.setValue( objectName, attr );
    }
View Full Code Here

                }

                if ( objectName != null )
                {
                    final Set  allValueNames;
                    final PropertyValueAccessorBase prop_accessor;
                    // wildcarded properties must not wildcard the "property" part
                    // eg "property.<regex>"
                    if ( suffix.equals( "*" ) )
                    {
                        // all attributes *and* all properties
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.dottedname.valueaccessor.PropertyValueAccessorBase

Copyright © 2018 www.massapicom. 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.