Class ProducerManagerImpl

  • All Implemented Interfaces:
    com.sun.portal.wsrp.producer.ProducerManager

    public class ProducerManagerImpl
    extends java.lang.Object
    implements com.sun.portal.wsrp.producer.ProducerManager
    ProducerManager implementation.
    Since:
    5.5.0
    Version:
    $Revision$ $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      ProducerManagerImpl​(java.lang.String portalId)
      Constructor used by ProducerManagerFactory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addProducer​(java.lang.String namespace, java.lang.String instanceName, boolean status, boolean requiresRegistration, boolean supportsInBandRegistration, java.lang.String version, com.sun.portal.wsrp.common.stubs.v2.ModelDescription registrationPropertyDescription)  
      boolean areAllProducersDisabled()  
      java.util.List<com.sun.portal.wsrp.producer.Producer> getAllProducers​(java.lang.String namespace)  
      com.sun.portal.wsrp.producer.Producer getProducer​(java.lang.String producerKey)  
      com.sun.portal.wsrp.producer.Producer getProducer​(java.lang.String namespace, java.lang.String instanceName)  
      void removeProducers​(java.lang.String namespace, java.lang.String[] instanceNames)  
      void setAllProducersDisabled​(boolean value)  
      void updateProducer​(com.sun.portal.wsrp.producer.Producer producer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProducerManagerImpl

        public ProducerManagerImpl​(java.lang.String portalId)
        Constructor used by ProducerManagerFactory.
        Parameters:
        portalId - the portal identifier.
        Since:
        5.5.0
    • Method Detail

      • addProducer

        public void addProducer​(java.lang.String namespace,
                                java.lang.String instanceName,
                                boolean status,
                                boolean requiresRegistration,
                                boolean supportsInBandRegistration,
                                java.lang.String version,
                                com.sun.portal.wsrp.common.stubs.v2.ModelDescription registrationPropertyDescription)
                         throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        addProducer in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException
      • areAllProducersDisabled

        public boolean areAllProducersDisabled()
                                        throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        areAllProducersDisabled in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException
      • getAllProducers

        public java.util.List<com.sun.portal.wsrp.producer.Producer> getAllProducers​(java.lang.String namespace)
                                                                              throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        getAllProducers in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException
      • getProducer

        public com.sun.portal.wsrp.producer.Producer getProducer​(java.lang.String namespace,
                                                                 java.lang.String instanceName)
                                                          throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        getProducer in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException
      • getProducer

        public com.sun.portal.wsrp.producer.Producer getProducer​(java.lang.String producerKey)
                                                          throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        getProducer in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException
      • removeProducers

        public void removeProducers​(java.lang.String namespace,
                                    java.lang.String[] instanceNames)
                             throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        removeProducers in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException
      • updateProducer

        public void updateProducer​(com.sun.portal.wsrp.producer.Producer producer)
                            throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        updateProducer in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException
      • setAllProducersDisabled

        public void setAllProducersDisabled​(boolean value)
                                     throws com.sun.portal.wsrp.producer.ProducerException
        Specified by:
        setAllProducersDisabled in interface com.sun.portal.wsrp.producer.ProducerManager
        Throws:
        com.sun.portal.wsrp.producer.ProducerException