|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp.consumer.impl.ProducerImpl
public class ProducerImpl
| Constructor Summary | |
|---|---|
ProducerImpl(org.exoplatform.container.ExoContainer cont)
|
|
| Method Summary | |
|---|---|
ReturnAny |
deregister()
End an existing consumer producer relationship and remove the registration context |
java.lang.String |
getDescription()
Get a description of the producer. |
java.lang.String[] |
getDesiredLocales()
|
java.lang.String |
getID()
Get the ID of the producer. |
java.lang.String |
getMarkupInterfaceEndpoint()
Get the URL of the producers markup interface. |
java.lang.String |
getName()
Get the name of the producer. |
PortletDescription |
getPortletDescription(java.lang.String portletHandle)
Get the portlet description of the portlet with the given handle or null if the producer doesn't know an portlet with this handle. |
WSRP_v1_PortletManagement_PortType |
getPortletManagementInterface()
Get the producers portlet management interface. |
java.lang.String |
getPortletManagementInterfaceEndpoint()
Get the URL of the producers portlet management interface. |
RegistrationContext |
getRegistrationContext()
Get the current registration context of the consumer registered at this producer or null if no registration is required or happend so far. |
RegistrationData |
getRegistrationData()
Get the registration data the consumer uses to register at this producer. |
WSRP_v1_Registration_PortType |
getRegistrationInterface()
Get the producers registration interface. |
java.lang.String |
getRegistrationInterfaceEndpoint()
Get the URL of the producers registration interface. |
ServiceDescription |
getServiceDescription()
Same as getServiceDescription(false) |
ServiceDescription |
getServiceDescription(boolean newRequest)
Get the service description of the producer |
WSRP_v1_ServiceDescription_PortType |
getServiceDescriptionInterface()
Get the producers service description interface. |
java.lang.String |
getServiceDescriptionInterfaceEndpoint()
Get the URL of the producers service description interface. |
void |
init(org.exoplatform.container.ExoContainer cont)
|
boolean |
isPortletManagementInferfaceSupported()
Check wether the optional portlet management interface is supported |
boolean |
isRegistrationInterfaceSupported()
Check wether the optional registration interface is supported |
boolean |
isRegistrationRequired()
Indicates wether or not the producer requires consumer registration. |
RegistrationState |
modifyRegistration(RegistrationData registrationData)
Can be used to modify the relationship between consumer and producer. |
RegistrationContext |
register(RegistrationData registrationData)
Method establishes a relationship between consumer and producer. |
void |
setDescription(java.lang.String description)
Set a description of the producer. |
void |
setDesiredLocales(java.lang.String[] desiredLocales)
|
void |
setID(java.lang.String ID)
Set the ID of the producer to he given value. |
void |
setMarkupInterfaceEndpoint(java.lang.String markupInterfaceEndpoint)
Set the URL of the producers markup interface. |
void |
setName(java.lang.String name)
Set the name of the producer. |
void |
setPortletManagementInterfaceEndpoint(java.lang.String portletManagementInterfaceEndpoint)
Set the URL of the producers portlet management interface. |
void |
setRegistrationData(RegistrationData registrationData)
Set the registration the consumer uses the register at this producer. |
void |
setRegistrationInterfaceEndpoint(java.lang.String registrationInterfaceEndpoint)
Set the URL of the producers registration interface. |
void |
setServiceDescriptionInterfaceEndpoint(java.lang.String serviceDescriptionInterfaceEndpoint)
Set the URL of the producers service description interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProducerImpl(org.exoplatform.container.ExoContainer cont)
| Method Detail |
|---|
public void init(org.exoplatform.container.ExoContainer cont)
public java.lang.String[] getDesiredLocales()
getDesiredLocales in interface Producerpublic void setDesiredLocales(java.lang.String[] desiredLocales)
setDesiredLocales in interface Producerpublic java.lang.String getName()
Producer
getName in interface Producerpublic void setName(java.lang.String name)
Producer
setName in interface Producername - The name of the producerpublic java.lang.String getID()
Producer
getID in interface Producerpublic void setID(java.lang.String ID)
Producer
setID in interface ProducerID - ID of the producer.public java.lang.String getDescription()
Producer
getDescription in interface Producerpublic void setDescription(java.lang.String description)
Producer
setDescription in interface Producerdescription - Some descriptive information about the producerpublic java.lang.String getServiceDescriptionInterfaceEndpoint()
Producer
getServiceDescriptionInterfaceEndpoint in interface Producerpublic void setServiceDescriptionInterfaceEndpoint(java.lang.String serviceDescriptionInterfaceEndpoint)
Producer
setServiceDescriptionInterfaceEndpoint in interface ProducerserviceDescriptionInterfaceEndpoint - of the service description interface.public WSRP_v1_ServiceDescription_PortType getServiceDescriptionInterface()
Producer
getServiceDescriptionInterface in interface Producer
public ServiceDescription getServiceDescription(boolean newRequest)
throws WSRPException
Producer
getServiceDescription in interface ProducernewRequest - If set to true a new request is send to the producer
otherwise a cached service description is used if available
WSRPException
public ServiceDescription getServiceDescription()
throws WSRPException
Producer
getServiceDescription in interface ProducerWSRPException
public PortletDescription getPortletDescription(java.lang.String portletHandle)
throws WSRPException
Producer
getPortletDescription in interface ProducerportletHandle - The portlet handle of the portlet
WSRPExceptionpublic java.lang.String getMarkupInterfaceEndpoint()
Producer
getMarkupInterfaceEndpoint in interface Producerpublic void setMarkupInterfaceEndpoint(java.lang.String markupInterfaceEndpoint)
Producer
setMarkupInterfaceEndpoint in interface ProducermarkupInterfaceEndpoint - of the markup interface.public java.lang.String getPortletManagementInterfaceEndpoint()
Producer
getPortletManagementInterfaceEndpoint in interface Producerpublic void setPortletManagementInterfaceEndpoint(java.lang.String portletManagementInterfaceEndpoint)
Producer
setPortletManagementInterfaceEndpoint in interface ProducerportletManagementInterfaceEndpoint - of the portlet management interface.public WSRP_v1_PortletManagement_PortType getPortletManagementInterface()
Producer
getPortletManagementInterface in interface Producerpublic boolean isPortletManagementInferfaceSupported()
Producer
isPortletManagementInferfaceSupported in interface Producerpublic java.lang.String getRegistrationInterfaceEndpoint()
Producer
getRegistrationInterfaceEndpoint in interface Producerpublic void setRegistrationInterfaceEndpoint(java.lang.String registrationInterfaceEndpoint)
Producer
setRegistrationInterfaceEndpoint in interface Producerpublic WSRP_v1_Registration_PortType getRegistrationInterface()
Producer
getRegistrationInterface in interface Producerpublic boolean isRegistrationRequired()
Producer
isRegistrationRequired in interface Producerpublic RegistrationData getRegistrationData()
Producer
getRegistrationData in interface Producerpublic void setRegistrationData(RegistrationData registrationData)
Producer
setRegistrationData in interface ProducerregistrationData - The registration data which is used to register at this
producer
public RegistrationContext getRegistrationContext()
throws WSRPException
Producer
getRegistrationContext in interface ProducerWSRPException
public RegistrationContext register(RegistrationData registrationData)
throws WSRPException
Producer
register in interface ProducerregistrationData - Data which is used to register the consumer
WSRPException
public RegistrationState modifyRegistration(RegistrationData registrationData)
throws WSRPException
Producer
modifyRegistration in interface ProducerregistrationData - The new registration data
WSRPException
public ReturnAny deregister()
throws WSRPException
Producer
deregister in interface ProducerWSRPExceptionpublic boolean isRegistrationInterfaceSupported()
Producer
isRegistrationInterfaceSupported in interface Producer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||