Skip to content

Shekhar Gulati

  • Home
  • Bookshelf
  • Kubernetes
  • Distributed Systems
  • 52 Tech
  • Musings
  • Newsletter
  • Contact

Tag: cdi

How to exclude a package from CDI scanning using @Vetoed annotation

Create a new Java file called package-info.java in the package you want to exclude. Then add the following code

@Vetoed
package org.shekhar.cdidemo.example;

import javax.enterprise.inject.Vetoed;
Author shekhargulatiPosted on April 2, 2014Categories JavaEE7Tags cdi, vetoedLeave a comment on How to exclude a package from CDI scanning using @Vetoed annotation

Connect with me

  • View shekhargulati’s profile on Twitter
  • View shekhar-gulati-830a055’s profile on LinkedIn
  • View shekhargulati’s profile on GitHub
Follow Shekhar Gulati on WordPress.com

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 247 other followers

RSS

  • RSS - Posts

Latest

  • Using Java Flight Recorder to Profile Spring Boot applications
  • Gradle Tips
  • Issue #24: 10 Reads, A Handcrafted Weekly Newsletter For Software Developers
  • Using Jenkins Config File Provider Plugin to allow Jenkins slave to access Maven’s global settings.xml
  • Kubernetes Tip: How to access Pod metadata in containers running inside the pod?
  • The Kubernetes Guide: Part 1: Learn Kubernetes by deploying a real-world application on it
  • Kubernetes Tip: How to refer one environment variable in another environment variable declaration?
  • The 2 minute guide to running Ambassador on Minikube
  • The Ultimate Dockerfile for Spring Boot Maven and Gradle applications
  • Solution: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

Shekhar’s Timeline

  • Government of India Policy on Adoption of Open Source Software meity.gov.in/writereaddata/… 3 hours ago
  • RT @jessfraz: If there’s anything I’ve learned in my life, it’s that it takes a level of security and self-confidence to be humble, and tho… 1 day ago
  • RT @nathanielpopper: We lost the $150 million in cryptocurrencies that we held for customers because our founder died and he was the only o… 1 day ago
  • RT @Lukasaoz: @ruxeg @thomaskrajacic @pat @merxplat BTC has failed at all of its stated design goals. It has the worst carbon/utility trade… 1 day ago
  • Podcasts are the 17th century English coffee houses of the 21st century coffee house - Leo Laporte 1 day ago

Monthly Archive

  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • November 2016
  • October 2016
  • May 2016
  • March 2016
  • February 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • November 2014
  • October 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • September 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • January 2011
  • October 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • October 2009
  • September 2009
  • August 2009
  • Home
  • Bookshelf
  • Kubernetes
  • Distributed Systems
  • 52 Tech
  • Musings
  • Newsletter
  • Contact
Shekhar Gulati Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy