01: package com.sun.portal.wsrp.producer;
02:
03: import javax.servlet.http.HttpServletRequest;
04:
05: import com.iplanet.sso.SSOToken;
06: import com.sun.portal.wsrp.common.stubs.ModelDescription;
07: import com.sun.portal.wsrp.producer.ProducerException;
08:
09: public interface ProducerManager {
10: public boolean areAllProducersDisabled() throws ProducerException;
11:
12: public Producer getProducer(String key) throws ProducerException;
13:
14: public Producer getProducer(String orgDN, String instanceName)
15: throws ProducerException;
16:
17: public Producer[] getAllProducers(String org)
18: throws ProducerException;
19:
20: public void addProducer(String orgDN, String instanceName,
21: boolean status, boolean requiresRegistration,
22: boolean supportsInBandRegistration,
23: ModelDescription registrationPropertyDescription)
24: throws ProducerException;
25:
26: public void removeProducers(String org, String[] instanceNames)
27: throws ProducerException;
28: }
|