ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/util/modeler/modules/ModelerSource.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/util/modeler/modules/ModelerSource.java
Status
scanned
Type
file
Name
ModelerSource.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1713 (1.7 KB)
MD5
42a4f922699d1e3d745a5ffac0f26882
SHA1
be79e2d02c38ff7ca45f54a6741c55b853beb73e
SHA256
236e9b739c90e789293fbc8c25cddbf98e932a1d1743619a6345be5a9c748b52
SHA512

      
    
SHA1_git
ad48ba9419115db4b5df57ccfd4beb1bac233cde
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ModelerSource.java | 1.7 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.tomcat.util.modeler.modules; import java.util.List; import javax.management.ObjectName; import org.apache.tomcat.util.modeler.Registry; import org.apache.tomcat.util.res.StringManager; /** * Source for descriptor data. More sources can be added. */ public abstract class ModelerSource { protected static final StringManager sm = StringManager.getManager(Registry.class); protected Object source; /** * Load data, returns a list of items. * * @param registry The registry * @param type The bean registry type * @param source Introspected object or some other source * * @return a list of object names * * @throws Exception Error loading descriptors */ public abstract List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
54.59
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9