当前位置: 首页>>代码示例>>Java>>正文


Java ServantManager类代码示例

本文整理汇总了Java中org.omg.PortableServer.ServantManager的典型用法代码示例。如果您正苦于以下问题:Java ServantManager类的具体用法?Java ServantManager怎么用?Java ServantManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ServantManager类属于org.omg.PortableServer包,在下文中一共展示了ServantManager类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: set_servant_manager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
/**
 * <code>set_servant_manager</code>
 * <b>Section 3.3.8.10</b>
 */
public void set_servant_manager(ServantManager servantManager)
    throws WrongPolicy
{
    try {
        lock() ;

        if (debug) {
            ORBUtility.dprint( this, "Calling set_servant_manager on poa " +
                this + " servantManager=" + servantManager ) ;
        }

        mediator.setServantManager( servantManager ) ;
    } finally {
        unlock() ;
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:21,代码来源:POAImpl.java

示例2: get_servant_manager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
/**
 * <code>get_servant_manager</code>
 * <b>Section 3.3.8.10</b>
 */
public ServantManager get_servant_manager() throws WrongPolicy
{
    try {
        lock() ;

        return mediator.getServantManager() ;
    } finally {
        unlock() ;
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:15,代码来源:POAImpl.java

示例3: get_servant_manager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
/**
 * Get the servant manager, associated with this POA.
 *
 * @return the associated servant manager or null if it has
 * been previously set.
 *
 * @throws WrongPolicy if the required USE_SERVANT_MANAGER policy does not
 * apply to this POA.
 */
public ServantManager get_servant_manager()
                                   throws WrongPolicy
{
  required(RequestProcessingPolicyValue.USE_SERVANT_MANAGER);

  if (servant_activator != null)
    return servant_activator;
  else
    return servant_locator;
}
 
开发者ID:vilie,项目名称:javify,代码行数:20,代码来源:gnuPOA.java

示例4: getServantManager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public ServantManager getServantManager() throws WrongPolicy
{
    throw new WrongPolicy();
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:POAPolicyMediatorImpl_NR_UDS.java

示例5: setServantManager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public void setServantManager( ServantManager servantManager ) throws WrongPolicy
{
    throw new WrongPolicy();
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:POAPolicyMediatorImpl_NR_UDS.java

示例6: setServantManager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public void setServantManager( ServantManager servantManager )
    throws WrongPolicy
{
    throw new WrongPolicy();
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:POAPolicyMediatorImpl_R_AOM.java

示例7: getServantManager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public ServantManager getServantManager() throws WrongPolicy
{
    return activator;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:POAPolicyMediatorImpl_R_USM.java

示例8: getServantManager

import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public ServantManager getServantManager() throws WrongPolicy
{
    return locator ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:POAPolicyMediatorImpl_NR_USM.java


注:本文中的org.omg.PortableServer.ServantManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。