org.apache.wsrp4j.producer.driver
Class RegistrationImpl

java.lang.Object
  extended byorg.apache.wsrp4j.producer.driver.RegistrationImpl
All Implemented Interfaces:
Registration, java.io.Serializable

public class RegistrationImpl
extends java.lang.Object
implements Registration, java.io.Serializable

This class implements the Registration interface encapsulating a registration-object. Provides setters and getters.

Implements the Serializable interface to enable serialization, e.g. to an XML-file.

Author:
Stefan Behl
See Also:
Registration, Serialized Form

Constructor Summary
RegistrationImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationImpl

public RegistrationImpl()
Method Detail

getRegistrationContext

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

Specified by:
getRegistrationContext in interface Registration
Returns:
RegistrationContext

getRegistrationData

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

Specified by:
getRegistrationData in interface Registration
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.

Specified by:
setRegistrationContext in interface Registration
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.

Specified by:
setRegistrationData in interface Registration
Parameters:
registrationData - The registration data of a certain Consumer.