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