Class AbstractProtocolManagerFactory<P extends BaseInterceptor>

    • Constructor Detail

      • AbstractProtocolManagerFactory

        public AbstractProtocolManagerFactory()
    • Method Detail

      • internalFilterInterceptors

        protected List<P> internalFilterInterceptors​(Class<P> type,
                                                     List<? extends BaseInterceptor> listIn)
        This method exists because java templates won't store the type of P at runtime. So it's not possible to write a generic method with having the Class Type. This will serve as a tool for sub classes to filter properly* * *
        type -
        listIn -
      • updateProtocolServices

        public void updateProtocolServices​(org.apache.activemq.artemis.core.server.ActiveMQServer server,
                                           List<org.apache.activemq.artemis.core.server.ActiveMQComponent> services)
                                    throws Exception
        Description copied from interface: ProtocolManagerFactory
        Provides an entry point for the server to trigger the protocol manager factory to update its protocol services based on updates to server configuration.
        Specified by:
        updateProtocolServices in interface ProtocolManagerFactory<P extends BaseInterceptor>
        server - The service instance that has triggered this update
        services - The protocol services that were previously registered (mutable).
        Exception - can throw an exception if an error occurs while updating or adding protocol services from configuration updates.