title: Alternate of C# Events in Java
body: <p>I am .Net developer. i want to know that is there any event handling mechanism in Java for Events Handling like C#.</p>
  
  <p>what i want to do is i want to raise/fire an event form my class upon some condition. and consumer of this class should register that event and write event handling method.</p>
  
  <p>this can be done easily in C#. i have to implement this thing in Java.</p>
  
  <p>after googling out i found some links but all those are talking about GUI events in AWT and swing.</p>
  
  <p>can any one help me out.</p>