org.apache.catalina.Container.getManager()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(95)

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

Container.getManager介绍

[英]Return the Manager with which this Container is associated. If there is no associated Manager, return the Manager associated with our parent Container (if any); otherwise return null.
[中]返回与此容器关联的管理器。如果没有关联的管理器,则返回与父容器关联的管理器(如果有);否则返回null

代码示例

代码示例来源:origin: jboss.web/jbossweb

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

代码示例来源:origin: tomcat/catalina

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

代码示例来源:origin: org.jboss.web/jbossweb

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
@Override
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

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

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
@Override
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
@Override
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

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

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
@Override
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

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

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
@Override
public Manager getManager() {
  if (manager != null)
    return (manager);
  if (parent != null)
    return (parent.getManager());
  return (null);
}

代码示例来源:origin: org.glassfish.main.web/web-core

/**
 * Return the Manager with which this Container is associated.  If there is
 * no associated Manager, return the Manager associated with our parent
 * Container (if any); otherwise return <code>null</code>.
 */
public Manager getManager() {
  try {
    readLock.lock();
    if (manager != null)
      return (manager);
  } finally {
    readLock.unlock();
  }
  if (parent != null)
    return (parent.getManager());
  return (null);
}

代码示例来源:origin: org.jboss.jbossas/jboss-as-tomcat

Manager manager = container.getManager();
if (manager != null && hsession != null)

代码示例来源:origin: org.jboss.jbossas/jboss-as-tomcat

Manager manager = container.getManager();
if (manager != null && hsession != null)

代码示例来源:origin: jboss.web/jbossweb

Container children[] = getHost().findChildren();
for (int i = 0; (i < children.length) && !found; i++) {
  if ((children[i].getManager() != null) 
      && (children[i].getManager().findSession(sessionId) != null)) {
    found = true;

代码示例来源:origin: org.jboss.web/jbossweb

Container children[] = getHost().findChildren();
for (int i = 0; (i < children.length) && !found; i++) {
  if ((children[i].getManager() != null) 
      && (children[i].getManager().findSession(sessionId) != null)) {
    found = true;

相关文章

微信公众号

最新文章

更多