org.jvnet.hk2.config
Interface ConfigCode
public interface ConfigCode
Allows multiple object as part of the transaction but requires manual casting.
- Author:
- Jerome Dochez
- See Also:
Single Oject equivalent
|
Method Summary |
java.lang.Object |
run(ConfigBeanProxy... params)
Runs the following command passing the configration object. |
run
java.lang.Object run(ConfigBeanProxy... params)
throws java.beans.PropertyVetoException,
TransactionFailure
- Runs the following command passing the configration object. The code will be run
within a transaction, returning true will commit the transaction, false will abort
it.
- Parameters:
params - is the list of configuration objects protected by the transaction
- Returns:
- true if the changes on param should be commited or false for abort.
- Throws:
java.beans.PropertyVetoException - if the changes cannot be applied
to the configuration
TransactionFailure
Copyright © 2012 Oracle Corporation. All Rights Reserved.