热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

org.eclipse.jetty.server.handler.jmx.AbstractHandlerMBean类的使用及代码示例

本文整理了Java中org.eclipse.jetty.server.handler.jmx.AbstractHandlerMBean类的一些代码示例,展示了

本文整理了Java中org.eclipse.jetty.server.handler.jmx.AbstractHandlerMBean类的一些代码示例,展示了AbstractHandlerMBean类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractHandlerMBean类的具体详情如下:
包路径:org.eclipse.jetty.server.handler.jmx.AbstractHandlerMBean
类名称:AbstractHandlerMBean

AbstractHandlerMBean介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus

@Override
public String getObjectNameBasis()
{
if (_managed != null )
{
String name = null;
if (_managed instanceof ContextHandler)
{
ContextHandler cOntext= (ContextHandler)_managed;
name = getContextName(context);
}

if (name != null)
return name;
}

return super.getObjectNameBasis();
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server

@Override
public String getObjectNameBasis()
{
if (_managed != null )
{
String name = null;
if (_managed instanceof ContextHandler)
{
ContextHandler cOntext= (ContextHandler)_managed;
name = getContextName(context);
}

if (name != null)
return name;
}

return super.getObjectNameBasis();
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server

@Override
public String getObjectNameBasis()
{
if (_managed != null )
{
String name = null;
if (_managed instanceof ContextHandler)
{
ContextHandler cOntext= (ContextHandler)_managed;
name = getContextName(context);
}

if (name != null)
return name;
}

return super.getObjectNameBasis();
}

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: org.eclipse.jetty/server

@Override
public String getObjectNameBasis()
{
if (_managed != null )
{
String name = null;
if (_managed instanceof ContextHandler)
{
ContextHandler cOntext= (ContextHandler)_managed;
name = getContextName(context);
}

if (name != null)
return name;
}

return super.getObjectNameBasis();
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp

@Override
public String getObjectNameBasis()
{
if (_managed != null )
{
String name = null;
if (_managed instanceof ContextHandler)
{
ContextHandler cOntext= (ContextHandler)_managed;
name = getContextName(context);
}

if (name != null)
return name;
}

return super.getObjectNameBasis();
}

代码示例来源:origin: Nextdoor/bender

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server

String cOntext= getContextName(handler);
if (cOntext==null)
cOntext=handler.getDisplayName();
basis = getContextName(context);

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

String cOntext= getContextName(handler);
if (cOntext==null)
cOntext=handler.getDisplayName();
basis = getContextName(context);

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: jenkinsci/winstone

String cOntext= getContextName(handler);
if (cOntext==null)
cOntext=handler.getDisplayName();
basis = getContextName(context);

代码示例来源:origin: org.eclipse.jetty/server

public String getObjectContextBasis()
{
if (_managed != null && _managed instanceof AbstractSessionManager)
{
AbstractSessionManager manager = (AbstractSessionManager)_managed;

String basis = null;
SessionHandler handler = manager.getSessionHandler();
if (handler != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(handler.getServer(),
ContextHandler.class,
handler);
if (context != null)
basis = getContextName(context);
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}
}

代码示例来源:origin: Nextdoor/bender

String cOntext= getContextName(handler);
if (cOntext==null)
cOntext=handler.getDisplayName();
basis = getContextName(context);

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

String cOntext= getContextName(handler);
if (cOntext==null)
cOntext=handler.getDisplayName();
basis = getContextName(context);

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp

@Override
public String getObjectContextBasis()
{
if (_managed != null )
{
String basis = null;
if (_managed instanceof ContextHandler)
{
return null;
}
else if (_managed instanceof AbstractHandler)
{
AbstractHandler handler = (AbstractHandler)_managed;
Server server = handler.getServer();
if (server != null)
{
ContextHandler cOntext=
AbstractHandlerContainer.findContainerOf(server,
ContextHandler.class, handler);

if (context != null)
basis = getContextName(context);
}
}
if (basis != null)
return basis;
}
return super.getObjectContextBasis();
}

推荐阅读
author-avatar
lashley谢
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有