• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ClientRequestInterceptors类的典型用法和代码示例

java 2次浏览

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

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

示例1: registerInterceptors

点赞 3

import gnu.CORBA.Interceptor.ClientRequestInterceptors; //导入依赖的package包/类
/**
 * Do interceptor registration.
 *
 * @param properties the properties, between those names the agreed prefix
 * "org.omg.PortableInterceptor.ORBInitializerClass." is searched.
 *
 * @param args the string array, passed to the ORB.init
 */
protected void registerInterceptors(Properties properties, String[] args)
{
  Registrator registrator = new Registrator(this, properties, args);

  policyFactories = registrator.m_policyFactories;

  registrator.pre_init();
  initial_references.putAll(registrator.getRegisteredReferences());
  registrator.post_init();

  if (registrator.hasIorInterceptors())
    iIor = new IORInterceptors(registrator);

  if (registrator.hasServerRequestInterceptors())
    iServer = new ServerRequestInterceptors(registrator);

  if (registrator.hasClientRequestInterceptors())
    iClient = new ClientRequestInterceptors(registrator);

  policyFactories = registrator.m_policyFactories;
}
 

开发者ID:vilie,
项目名称:javify,
代码行数:30,
代码来源:ORB_1_4.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)