Class ProducerEntityManagerFactory


  • public class ProducerEntityManagerFactory
    extends java.lang.Object
    Provides ProducerEntityManager instances.
    Since:
    5.5.0
    Version:
    $Revision: 11180 $ $Date: 2009-12-04 18:13:02 -0200 (Fri, 04 Dec 2009) $
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getProducerEntityId​(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction)
      Returns the producerEntityId configured for the specified service instance.
      static com.sun.portal.wsrp.consumer.producermanager.ProducerEntityManager getProducerEntityManager​(java.lang.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​(java.lang.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 java.lang.String getProducerEntityId​(SessionConfig sessionConfig,
                                                           java.lang.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