01: /**
02: * $Id: Producer.java,v 1.3 2004/06/28 17:16:52 jtb Exp $
03: * Copyright 2003 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.wsrp.producer;
14:
15: import java.util.Set;
16:
17: import com.sun.portal.wsrp.producer.markup.MarkupManager;
18: import com.sun.portal.wsrp.producer.registration.RegistrationManager;
19: import com.sun.portal.wsrp.producer.servicedescription.ServiceDescriptionManager;
20: import com.sun.portal.wsrp.producer.portletmanagement.PortletManagementManager;
21:
22: public interface Producer {
23: public String getProducerKey();
24:
25: public String getOrganization();
26:
27: public String getInstanceName();
28:
29: public Set getPortletChannelNames() throws ProducerException;
30:
31: public boolean isEnabled() throws ProducerException;
32:
33: public void setIsEnabled(boolean enabled) throws ProducerException;
34:
35: public boolean requiresRegistration() throws ProducerException;
36:
37: public void setRequiresRegistration(boolean state)
38: throws ProducerException;
39:
40: public boolean inbandRegistrationSupported()
41: throws ProducerException;
42:
43: public void setInbandRegistrationSupported(boolean supported)
44: throws ProducerException;
45:
46: public ServiceDescriptionManager getServiceDescriptionManager()
47: throws ProducerException;;
48:
49: public MarkupManager getMarkupManager() throws ProducerException;
50:
51: public RegistrationManager getRegistrationManager()
52: throws ProducerException;
53:
54: public PortletManagementManager getPortletManagementManager()
55: throws ProducerException;
56: }
|