Skip to content

Instantly share code, notes, and snippets.

Created July 27, 2016 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f335a07923a4e50f21765c51fc612477 to your computer and use it in GitHub Desktop.
Save anonymous/f335a07923a4e50f21765c51fc612477 to your computer and use it in GitHub Desktop.
public class SecureRestSearchActionPlugin extends Plugin {
public void onModule(ActionModule module) {
module.registerAction(SecureSearchAction.INSTANCE, TransportSecureSearchAction.class);
}
@Override
public String description() {
// TODO Auto-generated method stub
return "Secure Search Action Plugin";
}
@Override
public String name() {
// TODO Auto-generated method stub
return "description";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment