
org.kohsuke.stapler.jelly.JellyClassLoaderTearOff Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stapler-jelly Show documentation
Show all versions of stapler-jelly Show documentation
Jelly binding module for Stapler
The newest version!
/*******************************************************************************
*
* Copyright (c) 2004-2010 Oracle Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Kohsuke Kawaguchi
*
*******************************************************************************/
package org.kohsuke.stapler.jelly;
import org.apache.commons.jelly.JellyContext;
import org.apache.commons.jelly.TagLibrary;
import org.apache.commons.jelly.JellyException;
import org.apache.commons.jelly.Tag;
import org.apache.commons.jelly.impl.TagScript;
import org.apache.commons.jelly.impl.TagFactory;
import org.apache.commons.jelly.expression.ExpressionFactory;
import org.apache.commons.jelly.expression.Expression;
import org.apache.commons.jelly.expression.jexl.JexlExpressionFactory;
import org.kohsuke.stapler.MetaClassLoader;
import org.xml.sax.Attributes;
import java.lang.ref.WeakReference;
import java.net.URL;
import java.util.Map;
import com.google.common.collect.MapMaker;
import com.google.common.base.Function;
/**
* {@link MetaClassLoader} tear-off for Jelly support.
*
* @author Kohsuke Kawaguchi
*/
public class JellyClassLoaderTearOff {
private final MetaClassLoader owner;
/**
* See {@link JellyClassTearOff#scripts} for why we use {@link WeakReference} here.
*/
private volatile WeakReference
© 2015 - 2025 Weber Informatics LLC | Privacy Policy