本文整理汇总了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
}
}
}
}
示例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 ) ;
}
示例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 ) ;
}
示例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() ;
}
示例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 ) ;
}