org.jboss.managed.plugins
Class WritethroughManagedPropertyImpl

java.lang.Object
  extended by org.jboss.managed.plugins.ManagedPropertyImpl
      extended by org.jboss.managed.plugins.WritethroughManagedPropertyImpl
All Implemented Interfaces:
Serializable, ManagedProperty, TransientAttachments

public class WritethroughManagedPropertyImpl
extends ManagedPropertyImpl

An extension of ManagedPropertyImpl.

Version:
$Revision: 86627 $
Author:
Scott.Stark@jboss.org, Ales.Justin@jboss.org
See Also:
Serialized Form

Constructor Summary
WritethroughManagedPropertyImpl(Fields fields)
           
WritethroughManagedPropertyImpl(Fields fields, MetaValueFactory valueFactory, ManagedObjectFactory objectFactory)
           
WritethroughManagedPropertyImpl(ManagedObject managedObject, Fields fields)
           
 
Method Summary
protected  ManagedObjectFactory getObjectFactory()
           
protected  MetaValueFactory getValueFactory()
           
 void setValue(MetaValue value)
          Write the value back to the attachment if there is a PropertyInfo in the Fields.PROPERTY_INFO field.
 
Methods inherited from class org.jboss.managed.plugins.ManagedPropertyImpl
checkValidValue, copy, equals, getActivationPolicy, getAdminViewUses, getAnnotations, getDefaultValue, getDescription, getField, getFields, getLegalValues, getManagedObject, getMappedName, getMaximumValue, getMetaType, getMinimumValue, getName, getTargetManagedObject, getTransientAttachment, getTransientAttachment, getValue, getViewUse, hasAnnotation, hashCode, hasViewUse, isMandatory, isModified, isReadOnly, isRemoved, setActivationPolicy, setAdminViewUses, setAnnotations, setDescription, setField, setLegalValues, setManagedObject, setMandatory, setMaximumValue, setMetaType, setMinimumValue, setModified, setReadOnly, setRemoved, setTargetManagedObject, setTransientAttachment, setViewUse, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WritethroughManagedPropertyImpl

public WritethroughManagedPropertyImpl(Fields fields)

WritethroughManagedPropertyImpl

public WritethroughManagedPropertyImpl(ManagedObject managedObject,
                                       Fields fields)

WritethroughManagedPropertyImpl

public WritethroughManagedPropertyImpl(Fields fields,
                                       MetaValueFactory valueFactory,
                                       ManagedObjectFactory objectFactory)
Method Detail

getObjectFactory

protected ManagedObjectFactory getObjectFactory()

getValueFactory

protected MetaValueFactory getValueFactory()

setValue

public void setValue(MetaValue value)
Write the value back to the attachment if there is a PropertyInfo in the Fields.PROPERTY_INFO field.

Specified by:
setValue in interface ManagedProperty
Overrides:
setValue in class ManagedPropertyImpl
Parameters:
value - the value


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.