Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2013 Red Hat, Inc. and/or its affiliates.
  *
  * Licensed under the Eclipse Public License version 1.0, available at
  * http://www.eclipse.org/legal/epl-v10.html
  */
 package org.jboss.forge.arquillian.services;
 

Author(s):
Lincoln Baxter, III
   private Addon addon;
   {
      this. = addon;
   }
   @Override
   public void fireEvent(Object eventAnnotation... qualifiersthrows EventException
   {
      ServiceRegistry registry = .getServiceRegistry();
      ExportedInstance<EventManagerinstance = registry.getExportedInstance(EventManager.class);
      if (instance != null)
      {
         EventManager manager = instance.get();
         manager.fireEvent(eventqualifiers);
         instance.release(manager);
      }
   }
New to GrepCode? Check out our FAQ X