Package 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:
-
Method Summary
Modifier and TypeMethodDescriptionrun(ConfigBeanProxy... params) Runs the following command passing the configration object.
-
Method Details
-
run
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:
PropertyVetoException- if the changes cannot be applied to the configurationTransactionFailure
-