cgl.narada.wsinfra.messaging.bootstrap
Interface Initializer

All Superinterfaces:
FrameworkIndicator
All Known Implementing Classes:
WseInitializer

public interface Initializer
extends FrameworkIndicator


Method Summary
 Publisher createPublisher(EndpointReferenceType publisherEPR, EndpointReferenceType subscriptionManagerEPR)
          This creates a new instance of the publisher based on the specified arguments.
 Subscriber createSubscriber(EndpointReferenceType subscriberEPR)
          This creates a new instance of the subscriber based on the specified arguments.
 
Methods inherited from interface cgl.narada.wsinfra.messaging.FrameworkIndicator
getProvider, getSpecVersion, isEventing, isNotification
 

Method Detail

createPublisher

Publisher createPublisher(EndpointReferenceType publisherEPR,
                          EndpointReferenceType subscriptionManagerEPR)
                          throws DeploymentException
This creates a new instance of the publisher based on the specified arguments. This method requires that the publisher specify its EPR and the EPR of the SubscriptionManager that shoud be associated with it.

Parameters:
publisherEPR - The WSA EPR of the Publisher in question
subscriptionManagerEPR - The WSA EPR of the Subscription Manager
Returns:
Publisher instance that was created.
Throws:
DeploymentException - If there are problems initializing the entities.

createSubscriber

Subscriber createSubscriber(EndpointReferenceType subscriberEPR)
                            throws DeploymentException
This creates a new instance of the subscriber based on the specified arguments. This requires that the subscriber specify the EPR associated with it.

Parameters:
subscriberEPR - The WSA EPR of the subscriber in question.
Returns:
Throws:
DeploymentException


For comments and suggestions please send e-mail to The NaradaBrokering Project
kering Project