Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for hook (0.08 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        }
    
        // Test hook method when MultiThreadedHttpConnectionManager class is not available
        public void test_hook_classNotFound() {
            // Create a custom hook that simulates class not found scenario
            FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() {
                @Override
                public void hook(final FwAssistantDirector assistantDirector) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                return redirect(e.getActionClass());
            }
        }
    
        /**
         * Hook method called before action execution.
         * <p>
         * This method logs user access activity for the current request.
         * </p>
         *
         * @param runtime the action runtime context
         * @return the action response from the parent hook
         */
        @Override
        public ActionResponse hookBefore(final ActionRuntime runtime) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHook.java

    import org.lastaflute.core.direction.CurtainBeforeHook;
    import org.lastaflute.core.direction.FwAssistantDirector;
    
    /**
     * The hook before curtain.
     *
     * @author jflute
     */
    public class FessCurtainBeforeHook implements CurtainBeforeHook {
    
        @Override
        public void hook(final FwAssistantDirector assistantDirector) {
            processDBFluteSystem();
        }
    
        protected void processDBFluteSystem() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

    import org.lastaflute.core.direction.FwAssistantDirector;
    
    /**
     * The hook for curtain finally.
     *
     * @author jflute
     */
    public class FessCurtainFinallyHook implements CurtainFinallyHook {
    
        private static final Logger logger = LogManager.getLogger(FessCurtainFinallyHook.class);
    
        @Override
        public void hook(final FwAssistantDirector assistantDirector) {
            shutdownCommonsHttpClient();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/alerts.md

    ```yaml
    route:
      group_by: ['alertname']
      group_wait: 30s
      group_interval: 5m
      repeat_interval: 1h
      receiver: 'web.hook'
    receivers:
      - name: 'web.hook'
        webhook_configs:
          - url: 'http://127.0.0.1:8010/webhook'
    inhibit_rules:
      - source_match:
          severity: 'critical'
        target_match:
          severity: 'warning'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 23 15:13:23 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            try {
                curtainBeforeHook.hook(null);
            } catch (Exception e) {
                fail("Should not throw exception with null AssistantDirector");
            }
        }
    
        public void test_multipleHookCalls_maintainsSameTimeZone() {
            // Given
            FwAssistantDirector assistantDirector = null;
    
            // When
            curtainBeforeHook.hook(assistantDirector);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. tests/submodel_test.go

    package tests_test
    
    import (
    	"testing"
    	"gorm.io/gorm"
    )
    
    type Man struct {
    	ID     int
    	Age    int
    	Name   string
    	Detail string
    }
    
    // Panic-safe BeforeUpdate hook that checks for Changed("age")
    func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) {
    	if !tx.Statement.Changed("age") {
    		return nil
    	}
    	return nil
    }
    
    func TestSubModel(t *testing.T) {
    	man := Man{Age: 18, Name: "random-name"}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 944 bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/AbstractCIFSContextTest.java

                return defaultCreds;
            }
    
            @Override
            public boolean close() throws CIFSException {
                closeCalled = true;
                // Call super.close() to ensure the shutdown hook is removed
                return super.close();
            }
    
            public boolean isCloseCalled() {
                return closeCalled;
            }
    
            @Override
            public URLStreamHandler getUrlHandler() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. docs/iam/identity-management-plugin.md

    ```sh
    $ mc admin config set myminio identity_plugin --env
    KEY:
    identity_plugin  enable Identity Plugin via external hook
    
    ARGS:
    MINIO_IDENTITY_PLUGIN_URL*          (url)       plugin hook endpoint (HTTP(S)) e.g. "http://localhost:8181/path/to/endpoint"
    MINIO_IDENTITY_PLUGIN_AUTH_TOKEN    (string)    authorization token for plugin hook endpoint
    MINIO_IDENTITY_PLUGIN_ROLE_POLICY*  (string)    policies to apply for plugin authorized users
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

    import org.codelibs.fess.mylasta.mail.EsStatusPostcard;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.send.hook.SMailCallbackContext;
    import org.lastaflute.core.mail.Postbox;
    
    /**
     * Job for pinging search engine.
     */
    public class PingSearchEngineJob {
    
        /**
         * Default constructor.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top