Skip to content

Instantly share code, notes, and snippets.

@pmuir
Created September 15, 2010 11:01
Show Gist options
  • Save pmuir/580563 to your computer and use it in GitHub Desktop.
Save pmuir/580563 to your computer and use it in GitHub Desktop.
@Produces
@SomeQualifier // The unique identifier for this generic configuration
public Dools setupDroolsConfig()
{
//set up the configuration and return it.
//any producer that returns a Drools automatically installs a
//set of generic beans with the same qualifier
}
@GenericConfiguration
public class Drools
{
//fields etc
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment