org.jboss.system.server.profileservice.persistence
Class AttachmentPropertyPopulator
java.lang.Object
org.jboss.system.server.profileservice.persistence.AttachmentPropertyPopulator
public class AttachmentPropertyPopulator
- extends Object
The AttachmentPropertyPopulator, this writes the values of a
ManagedProperty to the attachment using a registered ICF.
- Version:
- $Revision: 88716 $
- Author:
- Emanuel Muckenhuber
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentPropertyPopulator
public AttachmentPropertyPopulator(org.jboss.managed.api.factory.ManagedObjectFactory managedObjectFactory,
ManagedObjectRecreationHelper helper)
setInstanceFactory
public <T> void setInstanceFactory(Class<T> clazz,
org.jboss.metatype.api.values.InstanceFactory<T> factory)
processManagedProperty
public void processManagedProperty(String name,
org.jboss.managed.api.ManagedProperty property,
Object attachment)
throws Throwable
- Process a ManagedProperty.
- Parameters:
propertyElement
- the persisted xml meta data.name
- the property name.property
- the managed property.attachment
- the managed object attachment.
- Throws:
Throwable
unwrapGenericCollection
protected Collection<?> unwrapGenericCollection(org.jboss.metatype.api.values.CollectionValue collection,
org.jboss.beans.info.spi.PropertyInfo propertyInfo)
throws Throwable
- Throws:
Throwable
createNewInstance
protected Object createNewInstance(org.jboss.beans.info.spi.BeanInfo beanInfo)
throws Throwable
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.