Yes. Attributes for both statistics and when it takes affect should exist. Not sure if it should be a Field or explicit enum type of attribute.
So our priorities regarding operations, we are first looking for simple void operation() methods.
But at some point later handle the Object operation(args) type of methods. :)
The only issue with operations with args is that they should be the from the org.jboss.metatype.api.values.* package to avoid leaking types to the client.
I finally started these spi changes. The ManagedObject in trunk now has a Set getOperations() to access the operations. As I move the data source ManagedObject creation into the jca deployer I'll flesh out the initial ManagedOperation implementation.