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

Uses of TransactionFailure in org.jvnet.hk2.config
 

Methods in org.jvnet.hk2.config that throw TransactionFailure
 java.lang.Object ConfigSupport._apply(ConfigCode code, ConfigBeanProxy... objects)
          Executes some logic on some config beans protected by a transaction.
<T extends ConfigBeanProxy>
T
WriteableView.allocateProxy(java.lang.Class<T> type)
          Allocate a new ConfigBean object as part of the Transaction associated with this configuration object.
static java.lang.Object ConfigSupport.apply(ConfigCode code, ConfigBeanProxy... objects)
          Executes some logic on some config beans protected by a transaction.
 void ConfigSupport.apply(java.util.Map<ConfigBean,java.util.Map<java.lang.String,java.lang.String>> mapOfChanges)
           
static
<T extends ConfigBeanProxy>
java.lang.Object
ConfigSupport.apply(SingleConfigCode<T> code, T param)
          Execute� some logic on one config bean of type T protected by a transaction
 java.util.List<java.beans.PropertyChangeEvent> Transaction.commit()
          Commits all participants to this transaction
 java.util.List<java.beans.PropertyChangeEvent> WriteableView.commit(Transaction t)
          Commit this Transaction.
 java.util.List<java.beans.PropertyChangeEvent> Transactor.commit(Transaction t)
          Commit this Transaction.
 ConfigBean ConfigSupport.createAndSet(ConfigBean parent, java.lang.Class<? extends ConfigBeanProxy> childType, java.util.List<ConfigSupport.AttributeChanges> attributes)
           
static ConfigBean ConfigSupport.createAndSet(ConfigBean parent, java.lang.Class<? extends ConfigBeanProxy> childType, java.util.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, java.lang.Class<? extends ConfigBeanProxy> childType, java.util.Map<java.lang.String,java.lang.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, java.lang.Class<? extends ConfigBeanProxy> childType, java.util.Map<java.lang.String,java.lang.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(java.lang.Class<T> type)
          Creates a child element of this configuration element
static
<T extends ConfigBeanProxy>
T
ConfigBeanProxy.Duck.createChild(ConfigBeanProxy self, java.lang.Class<T> c)
           
static void ConfigSupport.deleteChild(ConfigBean parent, ConfigBean child)
           
<T extends ConfigBeanProxy>
T
ConfigSupport.getWriteableView(T source)
          Returns a writeable view of a configuration object
 void ConfigSupport.TransactionCallBack.performOn(T param)
           
 java.lang.Object ConfigCode.run(ConfigBeanProxy... params)
          Runs the following command passing the configration object.
 java.lang.Object SingleConfigCode.run(T param)
          Runs the following command passing the configration object.
 



Copyright © 2009 Sun Microsystems, Inc.. All Rights Reserved.