lumis.service.wsrp.consumer.producermanager
Class ProducerEntityManagerFactory

Package class diagram package ProducerEntityManagerFactory
java.lang.Object
  extended by lumis.service.wsrp.consumer.producermanager.ProducerEntityManagerFactory

public class ProducerEntityManagerFactory
extends Object

Provides ProducerEntityManager instances.

Since:
5.5.0

Constructor Summary
ProducerEntityManagerFactory()
           
 
Method Summary
static String getProducerEntityId(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction)
          Returns the producerEntityId configured for the specified service instance.
static com.sun.portal.wsrp.consumer.producermanager.ProducerEntityManager getProducerEntityManager(String serviceInstanceId)
          Returns the ProducerEntityManager for a WSRP producer service instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProducerEntityManagerFactory

public ProducerEntityManagerFactory()
Method Detail

getProducerEntityManager

public static com.sun.portal.wsrp.consumer.producermanager.ProducerEntityManager getProducerEntityManager(String serviceInstanceId)
Returns the ProducerEntityManager for a WSRP producer service instance.

Parameters:
serviceInstanceId - the service instance identifier.
Returns:
the producer entity manager.
Since:
5.5.0

getProducerEntityId

public static String getProducerEntityId(SessionConfig sessionConfig,
                                         String serviceInstanceId,
                                         ITransaction transaction)
                                  throws PortalException
Returns the producerEntityId configured for the specified service instance.

Parameters:
sessionConfig - the user session information.
serviceInstanceId - the service instance identifier.
transaction - the transaction for persistence access.
Returns:
the producerEntityId.
Throws:
PortalObjectNotFoundException - if no producer entity exists for the specified service instance.
PortalException
Since:
5.5.0


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.