org.compass.core
Annotation Type CompassContext


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface CompassContext

A compass context annotation allowing to inject either a Compass or a CompassSession into another class. Currently used for Spring injection, but might be used by other vendors or implemented for other frameworks.

Author:
kimchy

Optional Element Summary
 String name
          The Compass name that will be used to lookup the Compass instance.
 

name

public abstract String name
The Compass name that will be used to lookup the Compass instance.

Default:
""


Copyright (c) 2004-2008 The Compass Project.