Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for hook (0.1 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. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        private final List<Thread> hooks = new ArrayList<>();
    
        @Override
        synchronized void addShutdownHook(Thread hook) {
          hooks.add(hook);
        }
    
        synchronized void shutdown() throws InterruptedException {
          for (Thread hook : hooks) {
            hook.start();
          }
          for (Thread hook : hooks) {
            hook.join();
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

         *
         * @param form the create form containing the item data
         * @param hook the validation error hook
         * @return optional entity containing the created stopwords item
         */
        public static OptionalEntity<StopwordsItem> createStopwordsItem(final CreateForm form, final VaErrorHook hook) {
            return getEntity(form).map(entity -> {
                final String newInput = form.input;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

         * Create a char mapping item.
         * @param form The create form.
         * @param hook The error hook.
         * @return An optional entity of a char mapping item.
         */
        protected OptionalEntity<CharMappingItem> createCharMappingItem(final CreateForm form, final VaErrorHook hook) {
            try {
                return createCharMappingItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        //                                                                               Hook
        //                                                                              ======
        // to suppress unexpected override by sub-class
        // you should remove the 'final' if you need to override this
        /**
         * Hook method called before action execution.
         * This method refreshes the user information if a user is logged in
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

        /**
         * Get the protected word item.
         * @param form The create form.
         * @param hook The error hook.
         * @return The protected word item.
         */
        protected OptionalEntity<ProtwordsItem> createProtwordsItem(final CreateForm form, final VaErrorHook hook) {
            try {
                return createProtwordsItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         * @param hook the validation error hook for handling errors
         * @return OptionalEntity containing the created synonym item or empty if creation failed
         */
        protected OptionalEntity<SynonymItem> createSynonymItem(final CreateForm form, final VaErrorHook hook) {
            try {
                return createSynonymItem(this, form, hook);
            } catch (final ValidationErrorException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  9. 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)
  10. 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)
Back to top