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


Java InterceptorsSystemException类代码示例

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


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

示例1: ORBInitInfoImpl

import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入依赖的package包/类
/**
 * Creates a new ORBInitInfoImpl object (scoped to package)
 *
 * @param args The arguments passed to ORB_init.
 */
ORBInitInfoImpl( ORB orb, String[] args,
    String orbId, CodecFactory codecFactory )
{
    this.orb = orb;

    wrapper = InterceptorsSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    orbutilWrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    omgWrapper = OMGSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;

    this.args = args;
    this.orbId = orbId;
    this.codecFactory = codecFactory;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:22,代码来源:ORBInitInfoImpl.java

示例2: CorbaMessageMediatorImpl

import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入依赖的package包/类
public CorbaMessageMediatorImpl(ORB orb,
                                Connection connection)
{
    this.orb = orb;
    this.connection = (CorbaConnection)connection;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    this.interceptorWrapper = InterceptorsSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:11,代码来源:CorbaMessageMediatorImpl.java

示例3: RequestInfoImpl

import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入依赖的package包/类
/**
 * Creates a new RequestInfoImpl object.
 */
public RequestInfoImpl( ORB myORB ) {
    super();

    this.myORB = myORB;
    wrapper = InterceptorsSystemException.get( myORB,
        CORBALogDomains.RPC_PROTOCOL ) ;
    stdWrapper = OMGSystemException.get( myORB,
        CORBALogDomains.RPC_PROTOCOL ) ;

    // Capture the current TSC and make it the RSC of this request.
    PICurrent current = (PICurrent)(myORB.getPIHandler().getPICurrent());
    slotTable = current.getSlotTable( );
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:17,代码来源:RequestInfoImpl.java

示例4: PIHandlerImpl

import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入依赖的package包/类
public PIHandlerImpl( ORB orb, String[] args ) {
    this.orb = orb ;
    wrapper = InterceptorsSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    orbutilWrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    omgWrapper = OMGSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    arguments = args ;

    // Create codec factory:
    codecFactory = new CodecFactoryImpl( orb );

    // Create new interceptor list:
    interceptorList = new InterceptorList( wrapper );

    // Create a new PICurrent.
    current = new PICurrent( orb );

    // Create new interceptor invoker, initially disabled:
    interceptorInvoker = new InterceptorInvoker( orb, interceptorList,
                                                 current );

    // Register the PI current and Codec factory objects
    orb.getLocalResolver().register( ORBConstants.PI_CURRENT_NAME,
        ClosureFactory.makeConstant( current ) ) ;
    orb.getLocalResolver().register( ORBConstants.CODEC_FACTORY_NAME,
        ClosureFactory.makeConstant( codecFactory ) ) ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:30,代码来源:PIHandlerImpl.java

示例5: SlotTableStack

import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入依赖的package包/类
/**
 * Constructs the stack and and SlotTablePool
 */
SlotTableStack( ORB orb, SlotTable table ) {
   this.orb = orb;
   wrapper = InterceptorsSystemException.get( orb, CORBALogDomains.RPC_PROTOCOL ) ;

   currentIndex = 0;
   tableContainer = new java.util.ArrayList( );
   tablePool = new SlotTablePool( );
   // SlotTableStack will be created with one SlotTable on the stack.
   // This table is used as the reference to query for number of
   // allocated slots to create other slottables.
   tableContainer.add( currentIndex, table );
   currentIndex++;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:17,代码来源:SlotTableStack.java

示例6: IORInfoImpl

import com.sun.corba.se.impl.logging.InterceptorsSystemException; //导入依赖的package包/类
/**
 * Creates a new IORInfo implementation.  This info object will establish
 * tagged components with the template for the provided IOR Template.
 */
IORInfoImpl( ObjectAdapter adapter ) {
    this.orb = adapter.getORB() ;

    orbutilWrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    wrapper = InterceptorsSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    omgWrapper = OMGSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;

    this.adapter = adapter;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:17,代码来源:IORInfoImpl.java


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