Hi all,
public class RealBillingService implements BillingService {
@NotOnWeekends
public Receipt chargeOrder(PizzaOrder order, CreditCard creditCard) {
...
}
}
For my application, I need this annotation to take arguments, e.g.:
@NotOnWeekends("Foo")
And these arguments need to be accessible from within the MethodInterceptor itself (since I need to perform something different based on what the arguments might be).
I've looked around for guides and tutorials, but nothing seems to cover this particular case. Any ideas?
Thanks,
Sasha