org.apache.wsrp4j.producer
Interface Registration

All Known Implementing Classes:
RegistrationImpl

public interface Registration

This interface provides access to Registration-objects. Provides setters and getters.

Author:
Stefan Behl

Method Summary
 RegistrationContext getRegistrationContext()
          Returns the registration context.
 RegistrationData getRegistrationData()
          Returns the registration data.
 void setRegistrationContext(RegistrationContext registrationContext)
          Sets the registration context.
 void setRegistrationData(RegistrationData registrationData)
          Sets the registration data.
 

Method Detail

getRegistrationContext

public RegistrationContext getRegistrationContext()
Returns the registration context. The registration context contains a registration handle (required) and optionally a registration state.

Returns:
RegistrationContext

getRegistrationData

public RegistrationData getRegistrationData()
Returns the registration data. Supplies consumer data required for registration with a Producer.

Returns:
RegistrationData

setRegistrationContext

public void setRegistrationContext(RegistrationContext registrationContext)
Sets the registration context. The registration context contains a registration handle (required) and optionally a registration state.

Parameters:
registrationContext - The registration context of a certain Consumer.

setRegistrationData

public void setRegistrationData(RegistrationData registrationData)
Sets the registration data. Supplies consumer data required for registration with a Producer.

Parameters:
registrationData - The registration data of a certain Consumer.