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


Java DataCollector类代码示例

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


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

示例1: runUserConfigurators

import com.sun.corba.se.spi.orb.DataCollector; //导入依赖的package包/类
private void runUserConfigurators( DataCollector collector, ORB orb )
{
    // Run any pluggable configurators.  This is a lot like
    // ORBInitializers, only it uses the internal ORB and has
    // access to all data for parsing.
    ConfigParser parser = new ConfigParser()  ;
    parser.init( collector ) ;
    if (parser.userConfigurators != null) {
        for (int ctr=0; ctr<parser.userConfigurators.length; ctr++) {
            Class cls = parser.userConfigurators[ctr] ;
            try {
                ORBConfigurator config = (ORBConfigurator)(cls.newInstance()) ;
                config.configure( collector, orb ) ;
            } catch (Exception exc) {
                // XXX Log this exception
                // ignore this for now: a bad user configurator does nothing
            }
        }
    }
}
 
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:21,代码来源:ORBConfiguratorImpl.java

示例2: create

import com.sun.corba.se.spi.orb.DataCollector; //导入依赖的package包/类
public static DataCollector create( Applet app, Properties props,
    String localHostName )
{
    String appletHost = localHostName ;

    if (app != null) {
        URL appletCodeBase = app.getCodeBase() ;

        if (appletCodeBase != null)
            appletHost = appletCodeBase.getHost() ;
    }

    return new AppletDataCollector( app, props, localHostName,
        appletHost ) ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:16,代码来源:DataCollectorFactory.java

示例3: configure

import com.sun.corba.se.spi.orb.DataCollector; //导入依赖的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:SunburstApps,项目名称:OpenJSharp,代码行数:24,代码来源:ORBConfiguratorImpl.java

示例4: ORBDataParserImpl

import com.sun.corba.se.spi.orb.DataCollector; //导入依赖的package包/类
public ORBDataParserImpl( ORB orb, DataCollector coll )
{
    super( ParserTable.get().getParserData() ) ;
    this.orb = orb ;
    wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.ORB_LIFECYCLE ) ;
    init( coll ) ;
    complete() ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:9,代码来源:ORBDataParserImpl.java

示例5: set_parameters

import com.sun.corba.se.spi.orb.DataCollector; //导入依赖的package包/类
public void set_parameters( Properties props )
{
    synchronized (this) {
            checkShutdownState();
    }
    preInit( null, props ) ;
    DataCollector dataCollector =
        DataCollectorFactory.create( props, getLocalHostName() ) ;
    postInit( null, dataCollector ) ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:11,代码来源:ORBImpl.java


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