本文整理了Java中org.eclipse.jetty.webapp.WebAppContext.loadSystemClasses()
方法的一些代码示例,展示了WebAppContext.loadSystemClasses()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebAppContext.loadSystemClasses()
方法的具体详情如下:
包路径:org.eclipse.jetty.webapp.WebAppContext
类名称:WebAppContext
方法名:loadSystemClasses
暂无
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
/**
* @return The ClasspathPattern used to match System (protected) classes
*/
public ClasspathPattern getSystemClasspathPattern()
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses;
}
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
/**
* @param name class name
* @return true if matched by {@link #getServerClasspathPattern()}
* @deprecated Use {@link #getSystemClasspathPattern()}.{@link ClasspathPattern#match(String)}
*/
@Deprecated
public boolean isSystemClass(String name)
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.match(name);
}
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
/**
*
* @param classOrPackage pattern
* @deprecated Use {@link #getSystemClasspathPattern()}.{@link ClasspathPattern#add(String)}
*/
@Deprecated
public void addSystemClass(String classOrPackage)
{
if (_systemClasses == null)
loadSystemClasses();
_systemClasses.add(classOrPackage);
}
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
/** Prepend to the list of System classes.
* @param classOrPackage A pattern.
* @see #setSystemClasses(String[])
* @see <a href="http://www.eclipse.org/jetty/documentation/current/jetty-classloading.html">Jetty Documentation: Classloading</a>
* @deprecated Use {@link #getSystemClasspathPattern()}.{@link ClasspathPattern#add(String)}
*/
@Deprecated
public void prependSystemClass(String classOrPackage)
{
if (_systemClasses == null)
loadSystemClasses();
_systemClasses.add(classOrPackage);
}
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
/**
* @see #setSystemClasses(String[])
* @return Returns the systemClasses.
*/
@ManagedAttribute(value="classes and packages given priority by context classloader", readonly=true)
public String[] getSystemClasses()
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.getPatterns();
}
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
@Override
public boolean isSystemClass(Class<?> clazz)
{
if (_systemClasses == null)
loadSystemClasses();
boolean result = _systemClasses.match(clazz);
if (LOG.isDebugEnabled())
LOG.debug("isSystemClass=={} {}",result,clazz);
return result;
}
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
@Override
public boolean isSystemResource(String name, URL url)
{
if (_systemClasses == null)
loadSystemClasses();
boolean result = _systemClasses.match(name,url);
if (LOG.isDebugEnabled())
LOG.debug("isSystemResource=={} {} {}",result,name,url);
return result;
}
代码示例来源:origin: org.eclipse.jetty/jetty-webapp
loadSystemClasses();
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
/**
* @see #setSystemClasses(String[])
* @return Returns the systemClasses.
*/
public String[] getSystemClasses()
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.getPatterns();
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
public boolean isSystemClass(String name)
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.match(name);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
/**
* @see #setSystemClasses(String[])
* @return Returns the systemClasses.
*/
public String[] getSystemClasses()
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.getPatterns();
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus
public void addSystemClass(String classname)
{
if (_systemClasses == null)
loadSystemClasses();
_systemClasses.addPattern(classname);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
@Override
public boolean isSystemClass(String name)
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.match(name);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server
public void addSystemClass(String classname)
{
if (_systemClasses == null)
loadSystemClasses();
_systemClasses.addPattern(classname);
}
代码示例来源:origin: jenkinsci/winstone
/**
*
* @param classOrPackage pattern
* @deprecated Use {@link #getSystemClasspathPattern()}.{@link ClasspathPattern#add(String)}
*/
@Deprecated
public void addSystemClass(String classOrPackage)
{
if (_systemClasses == null)
loadSystemClasses();
_systemClasses.add(classOrPackage);
}
代码示例来源:origin: jenkinsci/winstone
/**
* @param name class name
* @return true if matched by {@link #getServerClasspathPattern()}
* @deprecated Use {@link #getSystemClasspathPattern()}.{@link ClasspathPattern#match(String)}
*/
@Deprecated
public boolean isSystemClass(String name)
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.match(name);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
public void addSystemClass(String classname)
{
if (_systemClasses == null)
loadSystemClasses();
_systemClasses.addPattern(classname);
}
代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp
public boolean isSystemClass(String name)
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.match(name);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* @see #setSystemClasses(String[])
* @return Returns the systemClasses.
*/
@ManagedAttribute(value="classes and packages given priority by context classloader", readonly=true)
public String[] getSystemClasses()
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.getPatterns();
}
代码示例来源:origin: jenkinsci/winstone
/**
* @see #setSystemClasses(String[])
* @return Returns the systemClasses.
*/
@ManagedAttribute(value="classes and packages given priority by context classloader", readonly=true)
public String[] getSystemClasses()
{
if (_systemClasses == null)
loadSystemClasses();
return _systemClasses.getPatterns();
}
内容来源于网络,如有侵权,请联系作者删除!