Class ProducerEntityImpl
- java.lang.Object
-
- lumis.service.wsrp.consumer.producermanager.ProducerEntityImpl
-
- All Implemented Interfaces:
com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
,java.io.Serializable
public class ProducerEntityImpl extends java.lang.Object implements com.sun.portal.wsrp.consumer.producermanager.ProducerEntity, java.io.Serializable
Lumis implementation of the ProducerEntity interface. Responsible for mapping the remote service being consumed.- Since:
- 5.5.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProducerEntityImpl()
protected
ProducerEntityImpl(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext registrationContext, java.lang.String producerEntityId, java.lang.String producerName, java.net.URL producerURL, com.sun.portal.wsrp.common.WSRPVersion producerVersion, java.lang.String markupEndpoint, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status, java.lang.String serviceDescription, long serviceDescLastModified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getAllowedUserProfileMapping()
Currently unsupportedjava.util.Map<java.lang.String,java.lang.String>
getCustomUserProfileMapping()
Currently unsupportedint
getEntityVersion()
java.lang.String
getId()
java.lang.String
getIdentityPropagationType()
Currently no identity propagation is not allowed.java.lang.String
getLastModified()
Currently unsupportedcom.sun.portal.wsrp.common.LeaseTime
getLifetime()
Returns the lifetime if this ProducerEntity for the given consumer.java.lang.String
getMarkupEndpoint()
java.lang.String
getName()
com.sun.portal.wsrp.common.stubs.v2.PortletDescription
getPortletDescription(java.lang.String portletId)
java.util.List<com.sun.portal.wsrp.common.stubs.v2.ParameterDescription>
getPublicParameterDescriptions(java.lang.String portletId)
Registration
getRegistration()
Returns the registration.com.sun.portal.wsrp.common.stubs.v2.RegistrationContext
getRegistrationContext()
Returns the registration context.com.sun.portal.wsrp.common.stubs.v2.RegistrationData
getRegistrationData()
Currently unsupportedcom.sun.portal.wsrp.common.stubs.v2.ServiceDescription
getServiceDescription()
long
getServiceDescriptionLastModified()
com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus
getStatus()
java.net.URL
getURL()
java.util.Map<java.lang.String,java.lang.String>
getUserCategoryMapping()
Currently unsupportedcom.sun.portal.wsrp.common.WSRPVersion
getVersion()
void
setId(java.lang.String id)
void
setIdentityPropagationType(java.lang.String identityPropagationType)
Currently no identity propagation is not allowed.void
setMarkupEndpoint(java.lang.String producerMarkupEndpoint)
void
setName(java.lang.String producerName)
void
setRegistrationContext(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext context)
Sets the registration context.void
setServiceDescription(java.lang.String serviceDescription)
void
setStatus(com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status)
void
setURL(java.net.URL producerURL)
void
setVersion(com.sun.portal.wsrp.common.WSRPVersion producerVersion)
-
-
-
Constructor Detail
-
ProducerEntityImpl
protected ProducerEntityImpl()
-
ProducerEntityImpl
protected ProducerEntityImpl(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext registrationContext, java.lang.String producerEntityId, java.lang.String producerName, java.net.URL producerURL, com.sun.portal.wsrp.common.WSRPVersion producerVersion, java.lang.String markupEndpoint, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status, java.lang.String serviceDescription, long serviceDescLastModified)
-
-
Method Detail
-
getId
public java.lang.String getId()
- Specified by:
getId
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getMarkupEndpoint
public java.lang.String getMarkupEndpoint()
- Specified by:
getMarkupEndpoint
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getPortletDescription
public com.sun.portal.wsrp.common.stubs.v2.PortletDescription getPortletDescription(java.lang.String portletId)
- Specified by:
getPortletDescription
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Throws:
java.lang.IllegalArgumentException
- if there is no portlet registered with the id passed.
-
getPublicParameterDescriptions
public java.util.List<com.sun.portal.wsrp.common.stubs.v2.ParameterDescription> getPublicParameterDescriptions(java.lang.String portletId)
- Specified by:
getPublicParameterDescriptions
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Throws:
java.lang.IllegalArgumentException
- if there is no portlet registered with the id passed.
-
getServiceDescription
public com.sun.portal.wsrp.common.stubs.v2.ServiceDescription getServiceDescription()
- Specified by:
getServiceDescription
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getServiceDescriptionLastModified
public long getServiceDescriptionLastModified()
- Specified by:
getServiceDescriptionLastModified
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getStatus
public com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus getStatus()
- Specified by:
getStatus
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getURL
public java.net.URL getURL()
- Specified by:
getURL
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getVersion
public com.sun.portal.wsrp.common.WSRPVersion getVersion()
- Specified by:
getVersion
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getRegistration
public Registration getRegistration()
Returns the registration.- Returns:
- an instance of Registration.
-
getRegistrationContext
public com.sun.portal.wsrp.common.stubs.v2.RegistrationContext getRegistrationContext()
Returns the registration context.- Specified by:
getRegistrationContext
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- an instance of RegistrationContext.
-
setId
public void setId(java.lang.String id)
-
setMarkupEndpoint
public void setMarkupEndpoint(java.lang.String producerMarkupEndpoint)
-
setName
public void setName(java.lang.String producerName)
-
setServiceDescription
public void setServiceDescription(java.lang.String serviceDescription)
-
setStatus
public void setStatus(com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status)
-
setURL
public void setURL(java.net.URL producerURL)
-
setVersion
public void setVersion(com.sun.portal.wsrp.common.WSRPVersion producerVersion)
-
setRegistrationContext
public void setRegistrationContext(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext context)
Sets the registration context.- Parameters:
context
- an instance of RegistrationContext.
-
getEntityVersion
public int getEntityVersion()
- Specified by:
getEntityVersion
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getLifetime
public com.sun.portal.wsrp.common.LeaseTime getLifetime()
Returns the lifetime if this ProducerEntity for the given consumer.- Specified by:
getLifetime
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- LeaseTime of the producerEntity.
-
getUserCategoryMapping
public java.util.Map<java.lang.String,java.lang.String> getUserCategoryMapping()
Currently unsupported- Specified by:
getUserCategoryMapping
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getAllowedUserProfileMapping
public java.util.Map<java.lang.String,java.lang.String> getAllowedUserProfileMapping()
Currently unsupported- Specified by:
getAllowedUserProfileMapping
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getCustomUserProfileMapping
public java.util.Map<java.lang.String,java.lang.String> getCustomUserProfileMapping()
Currently unsupported- Specified by:
getCustomUserProfileMapping
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getRegistrationData
public com.sun.portal.wsrp.common.stubs.v2.RegistrationData getRegistrationData()
Currently unsupported- Specified by:
getRegistrationData
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getLastModified
public java.lang.String getLastModified()
Currently unsupported- Specified by:
getLastModified
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getIdentityPropagationType
public java.lang.String getIdentityPropagationType()
Currently no identity propagation is not allowed. Always returnscom.sun.portal.wsrp.identity.none
. For further details seeProducerEntity.getIdentityPropagationType()
.- Specified by:
getIdentityPropagationType
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- com.sun.portal.wsrp.identity.none
-
setIdentityPropagationType
public void setIdentityPropagationType(java.lang.String identityPropagationType)
Currently no identity propagation is not allowed.
-
-