Package org.wildfly.extension.ai.chat
Class ChatModelConnectionCheckerOperationHandler
java.lang.Object
org.wildfly.extension.ai.chat.ChatModelConnectionCheckerOperationHandler
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class ChatModelConnectionCheckerOperationHandler
extends Object
implements org.jboss.as.controller.OperationStepHandler
- Author:
- Emmanuel Hugonnet (c) 2024 Red Hat, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) static voidregister(org.jboss.as.controller.registry.ManagementResourceRegistration registration, org.wildfly.subsystem.resource.ResourceDescriptor descriptor, org.wildfly.service.capture.ValueExecutorRegistry<String, WildFlyChatModelConfig> registry)
-
Method Details
-
register
public static void register(org.jboss.as.controller.registry.ManagementResourceRegistration registration, org.wildfly.subsystem.resource.ResourceDescriptor descriptor, org.wildfly.service.capture.ValueExecutorRegistry<String, WildFlyChatModelConfig> registry) -
execute
public void execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException - Specified by:
executein interfaceorg.jboss.as.controller.OperationStepHandler- Throws:
org.jboss.as.controller.OperationFailedException
-