Interface ProtocolManagerFactory<P extends BaseInterceptor>
-
- All Known Implementing Classes:
AbstractProtocolManagerFactory,CoreProtocolManagerFactory
public interface ProtocolManagerFactory<P extends BaseInterceptor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProtocolManagercreateProtocolManager(ActiveMQServer server, Map<String,Object> parameters, List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors)When you create the ProtocolManager, you should filter out any interceptors that won't belong to this Protocol.List<P>filterInterceptors(List<BaseInterceptor> interceptors)This should get the entire list and only return the ones this factory can deal with *StringgetModuleName()default Persister<Message>[]getPersister()String[]getProtocols()voidloadProtocolServices(ActiveMQServer server, List<ActiveMQComponent> services)
-
-
-
Method Detail
-
createProtocolManager
ProtocolManager createProtocolManager(ActiveMQServer server, Map<String,Object> parameters, List<BaseInterceptor> incomingInterceptors, List<BaseInterceptor> outgoingInterceptors) throws Exception
When you create the ProtocolManager, you should filter out any interceptors that won't belong to this Protocol. For example don't send any core InterceptorsInterceptorto Stomp * * *- Parameters:
server-incomingInterceptors-outgoingInterceptors-- Returns:
- Throws:
Exception
-
filterInterceptors
List<P> filterInterceptors(List<BaseInterceptor> interceptors)
This should get the entire list and only return the ones this factory can deal with *- Parameters:
interceptors-- Returns:
-
getProtocols
String[] getProtocols()
-
getModuleName
String getModuleName()
-
loadProtocolServices
void loadProtocolServices(ActiveMQServer server, List<ActiveMQComponent> services)
-
-