Class ProducerEntityManagerFactory


  • public class ProducerEntityManagerFactory
    extends Object
    Provides ProducerEntityManager instances.
    Since:
    5.5.0
    Version:
    $Revision: 11180 $ $Date: 2009-12-04 18:13:02 -0200 (Fri, 04 Dec 2009) $
    • 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