Permalink
Browse files

Add warning

  • Loading branch information...
1 parent 5effbd3 commit d8d68175e8ade3a13251b298faa87b03ff2395ea @dmlloyd dmlloyd committed Aug 1, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/org/jboss/msc/service/ServiceListener.java
@@ -128,7 +128,10 @@
/**
* The inheritance type for a listener.
+ *
+ * @deprecated Listeners inherently degrade performance. Inheritance only compounds the problem. Ultimately listener inheritance will be eliminated.
*/
+ @Deprecated
enum Inheritance {
/**
* This listener is never inherited.

0 comments on commit d8d6817

Please sign in to comment.