|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp2.consumer.impl.ProducerImpl
public class ProducerImpl
| Constructor Summary | |
|---|---|
ProducerImpl(org.exoplatform.container.ExoContainer cont)
|
|
| Method Summary | |
|---|---|
org.exoplatform.services.wsrp2.type.ReturnAny |
deregister(org.exoplatform.services.wsrp2.type.Deregister deregister)
End an existing consumer producer relationship and remove the registration context |
String |
getDescription()
Get a description of the producer. |
String[] |
getDesiredLocales()
|
String |
getID()
Get the ID of the producer. |
String |
getMarkupInterfaceEndpoint()
Get the URL of the producers markup interface. |
String |
getName()
Get the name of the producer. |
org.exoplatform.services.wsrp2.type.PortletDescription |
getPortletDescription(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. |
org.exoplatform.services.wsrp2.intf.WSRP_v2_PortletManagement_PortType |
getPortletManagementInterface()
Get the producers portlet management interface. |
String |
getPortletManagementInterfaceEndpoint()
Get the URL of the producers portlet management interface. |
org.exoplatform.services.wsrp2.type.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. |
org.exoplatform.services.wsrp2.type.RegistrationData |
getRegistrationData()
Get the registration data the consumer uses to register at this producer. |
org.exoplatform.services.wsrp2.intf.WSRP_v2_Registration_PortType |
getRegistrationInterface()
Get the producers registration interface. |
String |
getRegistrationInterfaceEndpoint()
Get the URL of the producers registration interface. |
org.exoplatform.services.wsrp2.type.ServiceDescription |
getServiceDescription()
Same as getServiceDescription(false) |
org.exoplatform.services.wsrp2.type.ServiceDescription |
getServiceDescription(boolean newRequest)
Get the service description of the producer |
org.exoplatform.services.wsrp2.intf.WSRP_v2_ServiceDescription_PortType |
getServiceDescriptionInterface()
Get the producers service description interface. |
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. |
org.exoplatform.services.wsrp2.type.RegistrationState |
modifyRegistration(org.exoplatform.services.wsrp2.type.ModifyRegistration modifyRegistration)
Can be used to modify the relationship between consumer and producer. |
org.exoplatform.services.wsrp2.type.RegistrationContext |
register(org.exoplatform.services.wsrp2.type.Register register)
Method establishes a relationship between consumer and producer. |
void |
setDescription(String description)
Set a description of the producer. |
void |
setDesiredLocales(String[] desiredLocales)
|
void |
setID(String ID)
Set the ID of the producer to he given value. |
void |
setMarkupInterfaceEndpoint(String markupInterfaceEndpoint)
Set the URL of the producers markup interface. |
void |
setName(String name)
Set the name of the producer. |
void |
setPortletManagementInterfaceEndpoint(String portletManagementInterfaceEndpoint)
Set the URL of the producers portlet management interface. |
void |
setRegistrationData(org.exoplatform.services.wsrp2.type.RegistrationData registrationData)
Set the registration the consumer uses the register at this producer. |
void |
setRegistrationInterfaceEndpoint(String registrationInterfaceEndpoint)
Set the URL of the producers registration interface. |
void |
setServiceDescriptionInterfaceEndpoint(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 String[] getDesiredLocales()
getDesiredLocales in interface Producerpublic void setDesiredLocales(String[] desiredLocales)
setDesiredLocales in interface Producerpublic String getName()
Producer
getName in interface Producerpublic void setName(String name)
Producer
setName in interface Producername - The name of the producerpublic String getID()
Producer
getID in interface Producerpublic void setID(String ID)
Producer
setID in interface ProducerID - ID of the producer.public String getDescription()
Producer
getDescription in interface Producerpublic void setDescription(String description)
Producer
setDescription in interface Producerdescription - Some descriptive information about the producerpublic String getServiceDescriptionInterfaceEndpoint()
Producer
getServiceDescriptionInterfaceEndpoint in interface Producerpublic void setServiceDescriptionInterfaceEndpoint(String serviceDescriptionInterfaceEndpoint)
Producer
setServiceDescriptionInterfaceEndpoint in interface ProducerserviceDescriptionInterfaceEndpoint - of the service description interface.public org.exoplatform.services.wsrp2.intf.WSRP_v2_ServiceDescription_PortType getServiceDescriptionInterface()
Producer
getServiceDescriptionInterface in interface Producer
public org.exoplatform.services.wsrp2.type.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 org.exoplatform.services.wsrp2.type.ServiceDescription getServiceDescription()
throws WSRPException
Producer
getServiceDescription in interface ProducerWSRPException
public org.exoplatform.services.wsrp2.type.PortletDescription getPortletDescription(String portletHandle)
throws WSRPException
Producer
getPortletDescription in interface ProducerportletHandle - The portlet handle of the portlet
WSRPExceptionpublic String getMarkupInterfaceEndpoint()
Producer
getMarkupInterfaceEndpoint in interface Producerpublic void setMarkupInterfaceEndpoint(String markupInterfaceEndpoint)
Producer
setMarkupInterfaceEndpoint in interface ProducermarkupInterfaceEndpoint - of the markup interface.public String getPortletManagementInterfaceEndpoint()
Producer
getPortletManagementInterfaceEndpoint in interface Producerpublic void setPortletManagementInterfaceEndpoint(String portletManagementInterfaceEndpoint)
Producer
setPortletManagementInterfaceEndpoint in interface ProducerportletManagementInterfaceEndpoint - of the portlet management interface.public org.exoplatform.services.wsrp2.intf.WSRP_v2_PortletManagement_PortType getPortletManagementInterface()
Producer
getPortletManagementInterface in interface Producerpublic boolean isPortletManagementInferfaceSupported()
Producer
isPortletManagementInferfaceSupported in interface Producerpublic String getRegistrationInterfaceEndpoint()
Producer
getRegistrationInterfaceEndpoint in interface Producerpublic void setRegistrationInterfaceEndpoint(String registrationInterfaceEndpoint)
Producer
setRegistrationInterfaceEndpoint in interface Producerpublic org.exoplatform.services.wsrp2.intf.WSRP_v2_Registration_PortType getRegistrationInterface()
Producer
getRegistrationInterface in interface Producerpublic boolean isRegistrationRequired()
Producer
isRegistrationRequired in interface Producerpublic org.exoplatform.services.wsrp2.type.RegistrationData getRegistrationData()
Producer
getRegistrationData in interface Producerpublic void setRegistrationData(org.exoplatform.services.wsrp2.type.RegistrationData registrationData)
Producer
setRegistrationData in interface ProducerregistrationData - The registration data which is used to register at this
producer
public org.exoplatform.services.wsrp2.type.RegistrationContext getRegistrationContext()
throws WSRPException
Producer
getRegistrationContext in interface ProducerWSRPException
public org.exoplatform.services.wsrp2.type.RegistrationContext register(org.exoplatform.services.wsrp2.type.Register register)
throws WSRPException
Producer
register in interface ProducerWSRPException
public org.exoplatform.services.wsrp2.type.RegistrationState modifyRegistration(org.exoplatform.services.wsrp2.type.ModifyRegistration modifyRegistration)
throws WSRPException
Producer
modifyRegistration in interface ProducerWSRPException
public org.exoplatform.services.wsrp2.type.ReturnAny deregister(org.exoplatform.services.wsrp2.type.Deregister 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 | |||||||||