Class AbstractProtocolManagerFactory<P extends BaseInterceptor>
- java.lang.Object
-
- org.apache.activemq.artemis.spi.core.protocol.AbstractProtocolManagerFactory<P>
-
- All Implemented Interfaces:
ProtocolManagerFactory<P>
- Direct Known Subclasses:
CoreProtocolManagerFactory
public abstract class AbstractProtocolManagerFactory<P extends BaseInterceptor> extends Object implements ProtocolManagerFactory<P>
-
-
Constructor Summary
Constructors Constructor Description AbstractProtocolManagerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.voidloadProtocolServices(ActiveMQServer server, List<ActiveMQComponent> services)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.spi.core.protocol.ProtocolManagerFactory
createProtocolManager, filterInterceptors, getModuleName, getPersister, getProtocols
-
-
-
-
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* * *- Parameters:
type-listIn-- Returns:
-
loadProtocolServices
public void loadProtocolServices(ActiveMQServer server, List<ActiveMQComponent> services)
- Specified by:
loadProtocolServicesin interfaceProtocolManagerFactory<P extends BaseInterceptor>
-
-