org.ow2.jonas.ws.jaxws.easybeans.naming
Class WebServiceRefExtensionListener

java.lang.Object
  extended by org.ow2.jonas.ws.jaxws.easybeans.naming.WebServiceRefExtensionListener
All Implemented Interfaces:
org.ow2.util.event.api.IEventListener

public class WebServiceRefExtensionListener
extends Object
implements org.ow2.util.event.api.IEventListener

This extension is responsible of filling the EJB java:comp/env Context with @WebServiceRef.

Author:
Guillaume Sauthier

Constructor Summary
WebServiceRefExtensionListener()
           
 
Method Summary
 boolean accept(org.ow2.util.event.api.IEvent event)
          Only accepts the event if it's a EnvNamingEvent.
 org.ow2.util.event.api.EventPriority getPriority()
           
 void handle(org.ow2.util.event.api.IEvent event)
          Process the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceRefExtensionListener

public WebServiceRefExtensionListener()
Method Detail

accept

public boolean accept(org.ow2.util.event.api.IEvent event)
Only accepts the event if it's a EnvNamingEvent.

Specified by:
accept in interface org.ow2.util.event.api.IEventListener
Parameters:
event - tested event
Returns:
true if the proposed event is of the expected type

getPriority

public org.ow2.util.event.api.EventPriority getPriority()
Specified by:
getPriority in interface org.ow2.util.event.api.IEventListener
Returns:
Normal synchronous priority

handle

public void handle(org.ow2.util.event.api.IEvent event)
Process the event.

Specified by:
handle in interface org.ow2.util.event.api.IEventListener
Parameters:
event -


Copyright © 2010 OW2 Consortium. All Rights Reserved.