Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for handler (0.18 sec)

  1. docs/en/docs/advanced/events.md

    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event
    
    To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
                            languageRegistry.lookup(handler.getLanguage()).orElseGet(() -> handler::getLanguage),
                            handler.getExtension(),
                            handler.getClassifier(),
                            handler.isIncludesDependencies(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

    import org.codelibs.core.io.FileUtil;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.mortbay.jetty.Handler;
    import org.mortbay.jetty.Server;
    import org.mortbay.jetty.handler.DefaultHandler;
    import org.mortbay.jetty.handler.HandlerList;
    import org.mortbay.jetty.handler.ResourceHandler;
    import org.mortbay.log.Log;
    
    /**
     * @author shinsuke
     *
     */
    public class CrawlerWebServer {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        public static ArtifactType newArtifactType(String id, ArtifactHandler handler) {
            return new DefaultArtifactType(
                    id,
                    handler.getExtension(),
                    handler.getClassifier(),
                    handler.getLanguage(),
                    handler.isAddedToClasspath(),
                    handler.isIncludesDependencies());
        }
    
        public static Dependency toDependency(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

        }
    
        @Override
        public void addHandlers(Map<String, ArtifactHandler> handlers) {
            throw new UnsupportedOperationException("Adding handlers programmatically is not supported anymore");
        }
    
        @Deprecated
        public Set<String> getHandlerTypes() {
            throw new UnsupportedOperationException("Querying handlers programmatically is not supported anymore");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/ArtifactHandlerManager.java

     */
    package org.apache.maven.artifact.handler.manager;
    
    import java.util.Map;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     */
    public interface ArtifactHandlerManager {
        String ROLE = ArtifactHandlerManager.class.getName();
    
        ArtifactHandler getArtifactHandler(String type);
    
        @Deprecated
        void addHandlers(Map<String, ArtifactHandler> handlers);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            Logger rootLogger = Logger.getLogger("");
            rootLogger.setLevel(Level.ALL);
            ConsoleHandler handler = new ConsoleHandler();
            handler.setFormatter(new SimpleFormatter());
            handler.setLevel(Level.ALL);
            rootLogger.addHandler(handler);
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // close runner
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

            ArtifactHandler handler = allHandlers.get(type);
            if (handler == null) {
                handler = artifactHandlers.get(type);
                if (handler == null) {
                    handler = new DefaultArtifactHandler(type);
                } else {
                    allHandlers.put(type, handler);
                }
            }
            return handler;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.io.File;
    import java.util.Collection;
    import java.util.List;
    import java.util.regex.Pattern;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.handler;
    
    /**
     * An artifact handler contains information explaining how an artifact plugs into the Maven build:<ul>
     * <li>Information needed to find the artifact file in a repository including extension and classifier</li>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top