|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager lumis.service.wsrp.consumer.producermanager.ProducerEntityManagerImpl
public class ProducerEntityManagerImpl
Lumis implementation of the ProducerEntityManager interface. Responsible for managing the consumer's ProducerEntity and track the configurations of the remote portlet/service.
Field Summary |
---|
Fields inherited from class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager |
---|
DEFAULT_REGISTRATION_DATA |
Constructor Summary | |
---|---|
ProducerEntityManagerImpl()
|
Method Summary | |
---|---|
protected com.sun.portal.wsrp.consumer.producermanager.ProducerEntity |
createProducerEntity(String producerEntityId,
String producerName,
URL producerURL,
String markupEndpoint,
com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status,
com.sun.portal.wsrp.common.stubs.v2.RegistrationData regData,
com.sun.portal.wsrp.common.stubs.v2.RegistrationContext regContext,
com.sun.portal.wsrp.common.stubs.v2.ServiceDescription serviceDesc,
Map userCategories,
Map allowedUserProfiles,
Map customUserProfiles,
long serviceDescLastModified,
String lastModified,
int entityVersion,
String identityPropagationType,
String producerVersion,
com.sun.portal.wsrp.common.stubs.v2.Lifetime lifetime)
Creates a new instance of ProducerEntity and return it |
String |
getConsumerName()
Currently unsupported |
com.sun.portal.wsrp.common.stubs.v2.RegistrationData |
getDefaultRegistrationData()
Currently unsupported |
com.sun.portal.wsrp.consumer.producermanager.ProducerEntity |
getProducerEntity(String producerEntityId)
|
Set<String> |
getProducerEntityIds()
|
com.sun.portal.wsrp.common.stubs.v2.ServiceDescription |
getServiceDescription(URL producerURL,
String version)
|
Map<String,String> |
getStandardUserProfileMapping()
Currently unsupported |
void |
init(String portalId,
String serviceInstanceId)
|
boolean |
isActivated()
|
void |
purgeProducerEntity(String producerEntityId)
|
void |
removeProducerEntity(String producerEntityId,
boolean deregister)
|
void |
setActivated(boolean active)
Currently unsupported |
void |
setAllowedUserProfileMapping(String producerEntityId,
Map<String,String> allowedUserProfileMap)
Currently unsupported |
void |
setConsumerName(String consumerName)
Currently unsupported |
void |
setCustomUserProfileMapping(String producerEntityId,
Map<String,String> customUserProfileMap)
Currently unsupported |
void |
setDefaultRegistrationData(com.sun.portal.wsrp.common.stubs.v2.RegistrationData rd)
Currently unsupported |
void |
setIdentityPropagationType(String producerEntityId,
String type)
Currently no identity propagation is not allowed. |
void |
setLifetime(com.sun.portal.wsrp.consumer.producermanager.ProducerEntity producerEntity,
com.sun.portal.wsrp.common.stubs.v2.Lifetime lifetime)
Call the setRegistrationLifetime method that allows a consumer to request a change to the lifetime. |
void |
setName(String producerEntityId,
String name)
|
void |
setStandardUserProfileMapping(Map<String,String> standardUserProfileMap)
Currently unsupported |
void |
setStatus(String producerEntityId,
com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status)
|
void |
setUserCategoryMapping(String producerEntityId,
Map<String,String> userCategoryMap)
Currently unsupported |
void |
storeModifiedRegistration(String producerEntityId,
String rdXML,
String rcXML)
Registration is currently not supported. |
void |
storeProducerEntity(com.sun.portal.wsrp.consumer.producermanager.ProducerEntity pe)
|
void |
storeUpdatedServiceDescription(String producerEntityId,
String sdXML)
|
Methods inherited from class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager |
---|
addProducerEntity, addProducerEntity, decodeXML, getConsumerAgent, getConsumerObjectFactory, getEndpoints, getMapFromSet, getMapFromString, getRegistrationContextFromXML, getRegistrationContextXMLFromRC, getRegistrationDataFromXML, getRegistrationDataXMLFromRD, getServiceDescription, getServiceDescriptionXMLFromSD, getServiceDesctionFromXML, getStringFromMap, getWSRPFactory, isInbandRegistrationSupported, modifyRegistration, updateServiceDescription |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProducerEntityManagerImpl()
Method Detail |
---|
public com.sun.portal.wsrp.consumer.producermanager.ProducerEntity getProducerEntity(String producerEntityId) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public Set<String> getProducerEntityIds() throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void init(String portalId, String serviceInstanceId) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public boolean isActivated() throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setActivated(boolean active) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setIdentityPropagationType(String producerEntityId, String type) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
ProducerEntityImpl.setIdentityPropagationType(String)
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setName(String producerEntityId, String name) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setStatus(String producerEntityId, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void purgeProducerEntity(String producerEntityId) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void storeModifiedRegistration(String producerEntityId, String rdXML, String rcXML) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void storeProducerEntity(com.sun.portal.wsrp.consumer.producermanager.ProducerEntity pe) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void storeUpdatedServiceDescription(String producerEntityId, String sdXML) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
protected com.sun.portal.wsrp.consumer.producermanager.ProducerEntity createProducerEntity(String producerEntityId, String producerName, URL producerURL, String markupEndpoint, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status, com.sun.portal.wsrp.common.stubs.v2.RegistrationData regData, com.sun.portal.wsrp.common.stubs.v2.RegistrationContext regContext, com.sun.portal.wsrp.common.stubs.v2.ServiceDescription serviceDesc, Map userCategories, Map allowedUserProfiles, Map customUserProfiles, long serviceDescLastModified, String lastModified, int entityVersion, String identityPropagationType, String producerVersion, com.sun.portal.wsrp.common.stubs.v2.Lifetime lifetime) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
createProducerEntity
in class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public com.sun.portal.wsrp.common.stubs.v2.ServiceDescription getServiceDescription(URL producerURL, String version) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
getServiceDescription
in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntityManager
getServiceDescription
in class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void removeProducerEntity(String producerEntityId, boolean deregister) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException, com.sun.portal.wsrp.consumer.producermanager.InbandRegistrationNotSupportedException
removeProducerEntity
in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntityManager
removeProducerEntity
in class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.producermanager.InbandRegistrationNotSupportedException
public Map<String,String> getStandardUserProfileMapping() throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setAllowedUserProfileMapping(String producerEntityId, Map<String,String> allowedUserProfileMap) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setCustomUserProfileMapping(String producerEntityId, Map<String,String> customUserProfileMap) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setDefaultRegistrationData(com.sun.portal.wsrp.common.stubs.v2.RegistrationData rd) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setUserCategoryMapping(String producerEntityId, Map<String,String> userCategoryMap) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setStandardUserProfileMapping(Map<String,String> standardUserProfileMap) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public com.sun.portal.wsrp.common.stubs.v2.RegistrationData getDefaultRegistrationData() throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public String getConsumerName() throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setConsumerName(String consumerName) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
public void setLifetime(com.sun.portal.wsrp.consumer.producermanager.ProducerEntity producerEntity, com.sun.portal.wsrp.common.stubs.v2.Lifetime lifetime) throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
producerEntityId
- lifetime
-
com.sun.portal.wsrp.consumer.common.WSRPConsumerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |