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