C

An interface that defines caching characteristics for a resource.
Annotations where avoided in order to provide programmatic support to
customization in a resource-by-resource instance basis, not at class level.

Using a request scoped container, instantiates a resource.
Only instantiates the resource if it has not been instantiated so far, thus
allowing composition of another component instantiator and this one.

Whenever an interceptor accepts a resource method, its intercept method is
invoked to intercept the process of request parsing in order to allow the
software to do some specific tasks.
Common usage for interceptors for end-users (end-programmers) are security
constraint checks, database session (open session in view) opening and much
more.

Notifies vraptor to use this interceptor in the interceptor stack.
Interceptors annotated are run in any order, therefore if the sequence is
important to your project, use an annotated InterceptorSequence.

you can override this method for registering custom components, or use
optional vraptor components, like hibernate session and session factory
creators:
registry.register(SessionCreator.class, SessionCreator.class);
registry.register(SessionFactoryCreator.class,
SessionFactoryCreator.class);