Uses of Class
org.jvnet.hk2.config.TransactionFailure

Packages that use TransactionFailure
org.jvnet.hk2.config   
 

Uses of TransactionFailure in org.jvnet.hk2.config
 

Methods in org.jvnet.hk2.config that throw TransactionFailure
 Object ConfigSupport._apply(ConfigCode code, ConfigBeanProxy... objects)
          Executes some logic on some config beans protected by a transaction.
static void ConfigSupport._deleteChild(ConfigBean parent, WriteableView writeableParent, ConfigBean child)
          Unprotected child deletion, caller must start a transaction before calling this method.
<T extends ConfigBeanProxy>
T
WriteableView.allocateProxy(Class<T> type)
          Allocate a new ConfigBean object as part of the Transaction associated with this configuration object.
static Object ConfigSupport.apply(ConfigCode code, ConfigBeanProxy... objects)
          Executes some logic on some config beans protected by a transaction.
 void ConfigSupport.apply(Map<ConfigBean,Map<String,String>> mapOfChanges)
           
static
<T extends ConfigBeanProxy>
Object
ConfigSupport.apply(SingleConfigCode<T> code, T param)
          Execute some logic on one config bean of type T protected by a transaction
 boolean Transaction.canCommit()
          Tests if the transaction participants will pass the prepare phase successfully.
 boolean Transactor.canCommit(Transaction t)
          Returns true of this Transaction can be committed on this object
 boolean WriteableView.canCommit(Transaction t)
          Returns true of this Transaction can be committed on this object
 List<PropertyChangeEvent> Transaction.commit()
          Commits all participants to this transaction
 List<PropertyChangeEvent> Transactor.commit(Transaction t)
          Commit this Transaction.
 List<PropertyChangeEvent> WriteableView.commit(Transaction t)
          Commit this Transaction.
 ConfigBean ConfigSupport.createAndSet(ConfigBean parent, Class<? extends ConfigBeanProxy> childType, List<ConfigSupport.AttributeChanges> attributes)
           
static ConfigBean ConfigSupport.createAndSet(ConfigBean parent, Class<? extends ConfigBeanProxy> childType, List<ConfigSupport.AttributeChanges> attributes, ConfigSupport.TransactionCallBack<WriteableView> runnable)
          Creates a new child of the passed child and add it to the parent's live list of elements.
static ConfigBean ConfigSupport.createAndSet(ConfigBean parent, Class<? extends ConfigBeanProxy> childType, Map<String,String> attributes)
          Creates a new child of the passed child and add it to the parent's live list of elements.
static ConfigBean ConfigSupport.createAndSet(ConfigBean parent, Class<? extends ConfigBeanProxy> childType, Map<String,String> attributes, ConfigSupport.TransactionCallBack<WriteableView> runnable)
          Creates a new child of the passed child and add it to the parent's live list of elements.
<T extends ConfigBeanProxy>
T
ConfigBeanProxy.createChild(Class<T> type)
          Creates a child element of this configuration element
static
<T extends ConfigBeanProxy>
T
ConfigBeanProxy.Duck.createChild(ConfigBeanProxy self, Class<T> c)
           
 ConfigBeanProxy ConfigBeanProxy.deepCopy(ConfigBeanProxy parent)
          Performs a deep copy of this configuration element and returns it.
static ConfigBeanProxy ConfigBeanProxy.Duck.deepCopy(ConfigBeanProxy self, ConfigBeanProxy parent)
           
static void ConfigSupport.deleteChild(ConfigBean parent, ConfigBean child)
           
<T extends ConfigBeanProxy>
T
Transaction.enroll(T source)
          Enroll a configuration object in a transaction and returns a writeable view of it
<T extends ConfigBeanProxy>
T
ConfigSupport.getWriteableView(T source)
          Returns a writeable view of a configuration object
 void ConfigSupport.TransactionCallBack.performOn(T param)
           
 Object ConfigCode.run(ConfigBeanProxy... params)
          Runs the following command passing the configration object.
 Object SingleConfigCode.run(T param)
          Runs the following command passing the configration object.
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.