|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.portal.wsrp.consumer.ProducerDescription
Describes and creates producers.
If the registration interface url is set (not null) this implies
that the producer requires a registration. If the producer does
not require a registration, set the registration interface url
to null
| Field Summary | |
protected String |
description
description of the producer |
protected String |
id
Unique string of the producer |
protected String |
markupInterfaceUrl
The wsrp makup-interface-url (required) |
protected String |
name
name of the producer |
protected String |
portletManagementInterfaceUrl
The wsrp portlet-management-interface-url (optional) |
protected oasis.names.tc.wsrp.v1.types.RegistrationData |
registrationData
The registration data. |
protected String |
registrationInterfaceUrl
The wsrp registration-interface-url (optional) |
protected String |
serviceDescriptionInterfaceUrl
The wsrp service-description-interface-url (required) |
| Constructor Summary | |
ProducerDescription()
Default constructor |
|
ProducerDescription(String id)
Constructor |
|
ProducerDescription(String id,
String markupUrl,
String sdUrl)
Constructor |
|
ProducerDescription(String id,
String markupUrl,
String sdUrl,
String regUrl,
String pmUrl)
Constructor |
|
| Method Summary | |
static oasis.names.tc.wsrp.v1.types.RegistrationData |
createRegistrationData(Configuration config,
org.apache.wsrp4j.consumer.ConsumerEnvironment env)
|
static ProducerDescription |
fromConfiguration(Configuration config,
org.apache.wsrp4j.consumer.ConsumerEnvironment env)
Create a producer description from a configuration |
String |
getDescription()
|
String |
getId()
|
String |
getMarkupInterfaceUrl()
|
String |
getName()
|
String |
getPortletManagementInterfaceUrl()
|
oasis.names.tc.wsrp.v1.types.RegistrationData |
getRegistrationData()
|
String |
getRegistrationInterfaceUrl()
|
String |
getServiceDescriptionInterfaceUrl()
|
void |
setDescription(String description)
Set the producer-description |
void |
setId(String id)
set the producer-id |
void |
setMarkupInterfaceUrl(String markupInterfaceUrl)
set the markup-interface-url |
void |
setName(String name)
Set the producer-name |
void |
setPortletManagementInterfaceUrl(String portletManagementInterfaceUrl)
Set the portlet-management-interface-url |
void |
setRegistrationData(oasis.names.tc.wsrp.v1.types.RegistrationData registrationData)
|
void |
setRegistrationInterfaceUrl(String registrationInterfaceUrl)
Set the registration-interface-url |
void |
setServiceDescriptionInterfaceUrl(String serviceDescriptionInterfaceUrl)
Set the service-description-interface-url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String id
protected String markupInterfaceUrl
protected String serviceDescriptionInterfaceUrl
protected String registrationInterfaceUrl
protected String portletManagementInterfaceUrl
protected String name
protected String description
protected oasis.names.tc.wsrp.v1.types.RegistrationData registrationData
| Constructor Detail |
public ProducerDescription()
public ProducerDescription(String id)
id - of the producer
public ProducerDescription(String id,
String markupUrl,
String sdUrl)
id - of the producermarkupUrl - markup-interface-urlsdUrl - service-description-interface-url
public ProducerDescription(String id,
String markupUrl,
String sdUrl,
String regUrl,
String pmUrl)
id - of the producermarkupUrl - markup-interface-urlsdUrl - service-description-interface-urlregUrl - registration-interface-urlpmUrl - portlet-management-interface-url| Method Detail |
public String getId()
public void setId(String id)
id - public String getMarkupInterfaceUrl()
public void setMarkupInterfaceUrl(String markupInterfaceUrl)
markupInterfaceUrl - public String getPortletManagementInterfaceUrl()
public void setPortletManagementInterfaceUrl(String portletManagementInterfaceUrl)
portletManagementInterfaceUrl - public String getRegistrationInterfaceUrl()
public void setRegistrationInterfaceUrl(String registrationInterfaceUrl)
registrationInterfaceUrl - public String getServiceDescriptionInterfaceUrl()
public void setServiceDescriptionInterfaceUrl(String serviceDescriptionInterfaceUrl)
serviceDescriptionInterfaceUrl -
public static ProducerDescription fromConfiguration(Configuration config,
org.apache.wsrp4j.consumer.ConsumerEnvironment env)
throws ConfigurationException
config -
ConfigurationException
public static oasis.names.tc.wsrp.v1.types.RegistrationData createRegistrationData(Configuration config,
org.apache.wsrp4j.consumer.ConsumerEnvironment env)
public String getDescription()
public void setDescription(String description)
description - public String getName()
public void setName(String name)
name - public oasis.names.tc.wsrp.v1.types.RegistrationData getRegistrationData()
public void setRegistrationData(oasis.names.tc.wsrp.v1.types.RegistrationData registrationData)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||