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.

Version:
$Id: RegistrationImpl.java,v 1.4 2005/08/10 14:59:57 cziegeler Exp $
Author:
Stefan Behl
See Also:
Registration, Serialized Form

Field Summary
private  oasis.names.tc.wsrp.v1.types.RegistrationContext context
           
private  oasis.names.tc.wsrp.v1.types.RegistrationData data
           
 
Constructor Summary
RegistrationImpl()
           
 
Method Summary
 oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext()
          Returns the registration context.
 oasis.names.tc.wsrp.v1.types.RegistrationData getRegistrationData()
          Returns the registration data.
 void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext)
          Sets the registration context.
 void setRegistrationData(oasis.names.tc.wsrp.v1.types.RegistrationData registrationData)
          Sets the registration data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

private oasis.names.tc.wsrp.v1.types.RegistrationContext context

data

private oasis.names.tc.wsrp.v1.types.RegistrationData data
Constructor Detail

RegistrationImpl

public RegistrationImpl()
Method Detail

getRegistrationContext

public oasis.names.tc.wsrp.v1.types.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 oasis.names.tc.wsrp.v1.types.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(oasis.names.tc.wsrp.v1.types.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(oasis.names.tc.wsrp.v1.types.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.


--