You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2005/08/29 01:27:52 UTC
cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons-producer/src/java/org/apache/wsrp4j/commons/producer/interfaces Registration.java
dlouzan 2005/08/28 16:27:52
Added: sandbox/wsrp4j/commons-producer/src/java/org/apache/wsrp4j/commons/producer/interfaces
Registration.java
Log:
Initial commit.
Revision Changes Path
1.1 ws-wsrp4j/sandbox/wsrp4j/commons-producer/src/java/org/apache/wsrp4j/commons/producer/interfaces/Registration.java
Index: Registration.java
===================================================================
/*
* Copyright 2003-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.wsrp4j.commons.producer;
import oasis.names.tc.wsrp.v1.types.RegistrationContext;
import oasis.names.tc.wsrp.v1.types.RegistrationData;
/**
* This interface provides access to Registration-objects.
* Provides setters and getters.
*
* @author <a href="mailto:stefan.behl@de.ibm.com">Stefan Behl</a>
* @version $Id: Registration.java,v 1.1 2005/08/28 23:27:52 dlouzan Exp $
*/
public interface Registration {
/**
* Returns the registration context. The registration context contains a
* registration handle (required) and optionally a registration state.
*
* @return RegistrationContext
*/
RegistrationContext getRegistrationContext();
/**
* Returns the registration data. Supplies consumer data required for
* registration with a Producer.
*
* @return RegistrationData
*/
RegistrationData getRegistrationData();
/**
* Sets the registration context. The registration context contains a
* registration handle (required) and optionally a registration state.
*
* @param registrationContext The registration context of a certain
* Consumer.
*/
void setRegistrationContext(RegistrationContext registrationContext);
/**
* Sets the registration data. Supplies consumer data required for
* registration with a Producer.
*
* @param registrationData The registration data of a certain Consumer.
*/
void setRegistrationData(RegistrationData registrationData);
}