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


Java ORBUtilSystemException.get方法代码示例

本文整理汇总了Java中com.sun.corba.se.impl.logging.ORBUtilSystemException.get方法的典型用法代码示例。如果您正苦于以下问题:Java ORBUtilSystemException.get方法的具体用法?Java ORBUtilSystemException.get怎么用?Java ORBUtilSystemException.get使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.sun.corba.se.impl.logging.ORBUtilSystemException的用法示例。


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

示例1: CDROutputObject

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
private CDROutputObject(
    ORB orb, GIOPVersion giopVersion, Message header,
    BufferManagerWrite manager, byte streamFormatVersion,
    CorbaMessageMediator mediator)
{
    super(orb, giopVersion, header.getEncodingVersion(),
          false, manager, streamFormatVersion,
          ((mediator != null && mediator.getConnection() != null) ?
           ((CorbaConnection)mediator.getConnection()).
                 shouldUseDirectByteBuffers() : false));

    this.header = header;
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ;
    this.omgWrapper = OMGSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ;

    getBufferManager().setOutputObject(this);
    this.corbaMessageMediator = mediator;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:20,代码来源:CDROutputObject.java

示例2: ServiceContexts

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public ServiceContexts( ORB orb )
{
    this.orb = orb ;
    wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;

    addAlignmentOnWrite = false ;

    scMap = new HashMap();

    // Use the GIOP version of the ORB.  Should
    // be specified in ServiceContext.
    // See REVISIT below concerning giopVersion.
    giopVersion = orb.getORBData().getGIOPVersion();
    codeBase = null ;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:17,代码来源:ServiceContexts.java

示例3: CodecFactoryImpl

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
/**
 * Creates a new CodecFactory implementation.  Stores the ORB that
 * created this factory, for later use by the Codec.
 */
public CodecFactoryImpl( ORB orb ) {
    this.orb = orb;
    wrapper = ORBUtilSystemException.get(
        (com.sun.corba.se.spi.orb.ORB)orb,
        CORBALogDomains.RPC_PROTOCOL ) ;

    // Precreate a codec for version 1.0 through
    // 1.(MAX_MINOR_VERSION_SUPPORTED).  This can be
    // done since Codecs are immutable in their current implementation.
    // This is an optimization that eliminates the overhead of creating
    // a new Codec each time create_codec is called.
    for( int minor = 0; minor <= MAX_MINOR_VERSION_SUPPORTED; minor++ ) {
        codecs[minor] = new CDREncapsCodec( orb, 1, minor );
    }
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:20,代码来源:CodecFactoryImpl.java

示例4: configure

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public void configure( DataCollector collector, ORB orb )
{
    ORB theOrb = orb ;
    wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.ORB_LIFECYCLE ) ;

    initObjectCopiers( theOrb ) ;
    initIORFinders( theOrb ) ;

    theOrb.setClientDelegateFactory(
        // REVISIT: this should be ProtocolDefault.
        TransportDefault.makeClientDelegateFactory( theOrb )) ;

    initializeTransport(theOrb) ;

    initializeNaming( theOrb ) ;
    initServiceContextRegistry( theOrb ) ;
    initRequestDispatcherRegistry( theOrb ) ;
    registerInitialReferences( theOrb ) ;

    persistentServerInitialization( theOrb ) ;

    runUserConfigurators( collector, theOrb ) ;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:24,代码来源:ORBConfiguratorImpl.java

示例5: CorbaClientDelegateImpl

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public CorbaClientDelegateImpl(ORB orb,
                               CorbaContactInfoList contactInfoList)
{
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    this.contactInfoList = contactInfoList;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:9,代码来源:CorbaClientDelegateImpl.java

示例6: PrefixParserAction

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public PrefixParserAction( String propertyName,
    Operation operation, String fieldName, Class componentType )
{
    super( propertyName, true, operation, fieldName ) ;
    this.componentType = componentType ;
    this.wrapper = ORBUtilSystemException.get(
        CORBALogDomains.ORB_LIFECYCLE ) ;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:9,代码来源:PrefixParserAction.java

示例7: ServerRequestImpl

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public ServerRequestImpl (CorbaMessageMediator req, ORB orb) {
    _opName = req.getOperationName();
    _ins    = (InputStream)req.getInputObject();
    _ctx    = null;         // if we support contexts, this would
                            // presumably also  be available on
                            // the server invocation
    _orb = orb;
    _wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.OA_INVOCATION ) ;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:ServerRequestImpl.java

示例8: CorbaConnectionCacheBase

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
protected CorbaConnectionCacheBase(ORB orb, String cacheType,
                                   String monitoringName)
{
    this.orb = orb;
    this.cacheType = cacheType;
    this.monitoringName = monitoringName;
    wrapper =ORBUtilSystemException.get(orb,CORBALogDomains.RPC_TRANSPORT);
    registerWithMonitoring();
    dprintCreation();
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:11,代码来源:CorbaConnectionCacheBase.java

示例9: TypeCodeImpl

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public TypeCodeImpl(ORB orb)
{
    // initialized to tk_null
    _orb = orb;
    wrapper = ORBUtilSystemException.get(
        (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PRESENTATION ) ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:TypeCodeImpl.java

示例10: ReplyMessage_1_0

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
ReplyMessage_1_0(ORB orb, ServiceContexts _service_contexts,
        int _request_id, int _reply_status, IOR _ior) {
    super(Message.GIOPBigMagic, false, Message.GIOPReply, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    reply_status = _reply_status;
    ior = _ior;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:ReplyMessage_1_0.java

示例11: operate

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public Object operate( Object value )
{
    String className = getString( value ) ;

    try {
        Class<?> result =
            SharedSecrets.getJavaCorbaAccess().loadClass( className ) ;
        return result ;
    } catch (Exception exc) {
        ORBUtilSystemException wrapper = ORBUtilSystemException.get(
            CORBALogDomains.ORB_LIFECYCLE ) ;
        throw wrapper.couldNotLoadClass( exc, className ) ;
    }
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:15,代码来源:OperationFactory.java

示例12: init

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
public void init( ORB orb )
{
    this.orb = orb ;
    wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.OA_LIFECYCLE ) ;
    tom = new TransientObjectManager( orb ) ;
    codebaseToTOA = new HashMap() ;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:9,代码来源:TOAFactory.java

示例13: LocateReplyMessage_1_2

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
LocateReplyMessage_1_2(ORB orb, int _request_id,
        int _reply_status, IOR _ior) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_2, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPLocateReply, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    request_id = _request_id;
    reply_status = _reply_status;
    ior = _ior;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:LocateReplyMessage_1_2.java

示例14: SocketOrChannelConnectionImpl

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的package包/类
protected SocketOrChannelConnectionImpl(ORB orb)
{
    this.orb = orb;
    wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_TRANSPORT ) ;

    setWork(this);
    responseWaitingRoom = new CorbaResponseWaitingRoomImpl(orb, this);
    setReadTimeouts(orb.getORBData().getTransportTCPReadTimeouts());
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:SocketOrChannelConnectionImpl.java

示例15: CorbaMessageMediatorImpl

import com.sun.corba.se.impl.logging.ORBUtilSystemException; //导入方法依赖的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


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