org.jboss.system.server.profileservice.persistence
Class DefaultRecreationDelegate

java.lang.Object
  extended by org.jboss.system.server.profileservice.persistence.AbstractManagedObjectRecreation
      extended by org.jboss.system.server.profileservice.persistence.DefaultRecreationDelegate

public class DefaultRecreationDelegate
extends AbstractManagedObjectRecreation

The default ManagedObject recreation plugin. This will process and update the ManagedObject and it's properties.

Version:
$Revision$
Author:
Emanuel Muckenhuber

Constructor Summary
DefaultRecreationDelegate(AbstractValueRecreation valueRecreation, ManagedObjectRecreationHelper helper)
           
 
Method Summary
 org.jboss.managed.api.ManagedObject createManagedObject(PersistedManagedObject persisted)
           
protected  org.jboss.managed.api.ManagedObject createManagedObjectSkeleton(String className)
           
protected  void setValue(String name, org.jboss.managed.api.ManagedProperty property, Object attachment)
          Set the value to the managed property/
 org.jboss.managed.api.ManagedObject updateManagedObject(PersistedManagedObject persisted, org.jboss.managed.api.ManagedObject mo)
           
 
Methods inherited from class org.jboss.system.server.profileservice.persistence.AbstractManagedObjectRecreation
createValue, getValueRecreation, isProcessProperty, processManagedProperty, processManagedProperty, processManagedProperty, processProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRecreationDelegate

public DefaultRecreationDelegate(AbstractValueRecreation valueRecreation,
                                 ManagedObjectRecreationHelper helper)
Method Detail

createManagedObject

public org.jboss.managed.api.ManagedObject createManagedObject(PersistedManagedObject persisted)

updateManagedObject

public org.jboss.managed.api.ManagedObject updateManagedObject(PersistedManagedObject persisted,
                                                               org.jboss.managed.api.ManagedObject mo)

createManagedObjectSkeleton

protected org.jboss.managed.api.ManagedObject createManagedObjectSkeleton(String className)

setValue

protected void setValue(String name,
                        org.jboss.managed.api.ManagedProperty property,
                        Object attachment)
Description copied from class: AbstractManagedObjectRecreation
Set the value to the managed property/

Specified by:
setValue in class AbstractManagedObjectRecreation
Parameters:
name - the property name
property - the managed property itself
attachment - the attachment


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