/** * Add a transaction protocol request handler to an existing channel. * * @param association the channel association * @param controller the model controller */ public static void addAsHandlerFactory(final ManagementChannelHandler association, final ModelController controller) { final ManagementRequestHandlerFactory handlerFactory = createHandler(association, controller); association.addHandlerFactory(handlerFactory); }
/** * Add a transaction protocol request handler to an existing channel. * * @param association the channel association * @param controller the model controller */ public static void addAsHandlerFactory(final ManagementChannelHandler association, final ModelController controller) { final ManagementRequestHandlerFactory handlerFactory = createHandler(association, controller); association.addHandlerFactory(handlerFactory); }