org.codehaus.xfire.service.event
Class RegistrationEvent
java.lang.Object
java.util.EventObject
org.codehaus.xfire.service.event.RegistrationEvent
- All Implemented Interfaces:
- Serializable
public class RegistrationEvent
- extends EventObject
An Event
object that provides information about the source of a service endpoint-related event.
RegistrationEvent
objects are generated when an ServiceEndpoint
is registered or
unregistered on a ServiceEndpointRegistry
.
- Author:
- Arjen Poutsma
- See Also:
RegistrationEventListener
,
Service
,
ServiceRegistry
,
Serialized Form
Constructor Summary |
RegistrationEvent(ServiceRegistry source,
Service endpoint)
Initializes a RegistrationEvent object initialized with the given
ServiceEndpointRegistry and ServiceEndpoint object. |
Method Summary |
Service |
getEndpoint()
Returns the ServiceEndpoint for this RegistrationEvent . |
RegistrationEvent
public RegistrationEvent(ServiceRegistry source,
Service endpoint)
- Initializes a
RegistrationEvent
object initialized with the given
ServiceEndpointRegistry
and ServiceEndpoint
object.
- Parameters:
source
- the endpoint registry that is the source of the eventendpoint
- the endpoint that has been registered
getEndpoint
public Service getEndpoint()
- Returns the
ServiceEndpoint
for this RegistrationEvent
.
- Returns:
- the endpoint
Copyright © 2004-2013. All Rights Reserved.