01: package com.sun.portal.wsrp.producer.registration;
02:
03: import java.util.Set;
04:
05: import com.sun.portal.wsrp.common.stubs.ModifyRegistration;
06: import com.sun.portal.wsrp.common.stubs.RegistrationContext;
07: import com.sun.portal.wsrp.common.stubs.RegistrationData;
08: import com.sun.portal.wsrp.common.stubs.RegistrationState;
09: import com.sun.portal.wsrp.common.stubs.ReturnAny;
10:
11: import com.sun.portal.wsrp.producer.ProducerException;
12:
13: import com.sun.portal.wsrp.producer.registration.validator.RegistrationValidator;
14:
15: public interface RegistrationManager {
16: public RegistrationContext register(
17: RegistrationData registrationData) throws ProducerException;
18:
19: public ReturnAny deregister(RegistrationContext registrationContext)
20: throws ProducerException;
21:
22: public RegistrationState modifyRegistration(
23: ModifyRegistration modifyRegistration)
24: throws ProducerException;
25:
26: public RegistrationData getRegistrationData(
27: RegistrationContext registrationContext)
28: throws ProducerException;
29:
30: public boolean registrationExists(
31: RegistrationContext registrationContext)
32: throws ProducerException;
33:
34: public boolean isValidRegistration(
35: RegistrationContext registrationContext)
36: throws ProducerException;
37:
38: public boolean getRegistrationStatus(String registrationHandle)
39: throws ProducerException;
40:
41: public void setRegistrationStatus(String registrationHandle,
42: boolean status) throws ProducerException;
43:
44: public Set getRegistrationRecords() throws ProducerException;
45:
46: public RegistrationRecord getRegistrationRecord(
47: String registrationHandle) throws ProducerException;
48:
49: public RegistrationRecord addRegistration(
50: RegistrationData registrationData, boolean enabled)
51: throws ProducerException;
52:
53: public void modifyRegistration(RegistrationRecord registrationRecord)
54: throws ProducerException;
55:
56: public void removeRegistrations(Set registrationHandles)
57: throws ProducerException;
58:
59: public RegistrationValidator getRegistrationValidator()
60: throws ProducerException;
61:
62: public String getRegistrationValidatorClassName()
63: throws ProducerException;
64:
65: public void setRegistrationValidatorClassName(
66: String validatorClassName) throws ProducerException;
67: }
|