本文整理汇总了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() ;
}
}
示例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() ;
}
}
示例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;
}
示例4: getServantManager
import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public ServantManager getServantManager() throws WrongPolicy
{
throw new WrongPolicy();
}
示例5: setServantManager
import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public void setServantManager( ServantManager servantManager ) throws WrongPolicy
{
throw new WrongPolicy();
}
示例6: setServantManager
import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public void setServantManager( ServantManager servantManager )
throws WrongPolicy
{
throw new WrongPolicy();
}
示例7: getServantManager
import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public ServantManager getServantManager() throws WrongPolicy
{
return activator;
}
示例8: getServantManager
import org.omg.PortableServer.ServantManager; //导入依赖的package包/类
public ServantManager getServantManager() throws WrongPolicy
{
return locator ;
}