⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orbconstants.java

📁 java1.6众多例子参考
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    public static final int TRANSPORT_TCP_MAX_TIME_TO_WAIT = 3000;    // max time to spend in cumulative waits in milliseconds    // if a transport tcp read of GIOP header returns 0 bytes    public static final int TRANSPORT_TCP_GIOP_HEADER_MAX_TIME_TO_WAIT = 300;    // A backoff percentage used to compute the next amount of time to    // wait on a subsequent transport tcp read of 0 bytes    public static final int TRANSPORT_TCP_TIME_TO_WAIT_BACKOFF_FACTOR = 20;    public static final String USE_NIO_SELECT_TO_WAIT_PROPERTY =	SUN_PREFIX + "transport.ORBUseNIOSelectToWait";    // "Socket" | "SocketChannel"    // Note: Connections accepted by SocketChannel will be SocketChannel.    public static final String ACCEPTOR_SOCKET_TYPE_PROPERTY =	SUN_PREFIX + "transport.ORBAcceptorSocketType";    // Applicable if using SocketChannel and using select thread.    public static final String ACCEPTOR_SOCKET_USE_WORKER_THREAD_FOR_EVENT_PROPERTY =	SUN_PREFIX + "transport.ORBAcceptorSocketUseWorkerThreadForEvent";    // Applicable on client-side. "Socket" | "SocketChannel"    public static final String CONNECTION_SOCKET_TYPE_PROPERTY = 	SUN_PREFIX + "transport.ORBConnectionSocketType";    // Applicable if using SocketChannel and using select thread    public static final String CONNECTION_SOCKET_USE_WORKER_THREAD_FOR_EVENT_PROPERTY =	SUN_PREFIX + "transport.ORBConnectionSocketUseWorkerThreadForEvent";    // Used to disable the use of direct byte buffers.  This enables much easier    // debugging, because the contents of a direct byte buffer cannot be     // viewed in most (all?) debuggers.    public static final String DISABLE_DIRECT_BYTE_BUFFER_USE_PROPERTY =	SUN_PREFIX + "transport.ORBDisableDirectByteBufferUse" ;    public static final String SOCKET        = "Socket";    public static final String SOCKETCHANNEL = "SocketChannel";    // POA related policies    public static final String PERSISTENT_SERVER_PORT_PROPERTY	= SUN_PREFIX + "POA.ORBPersistentServerPort" ;    public static final String SERVER_ID_PROPERTY		= SUN_PREFIX + "POA.ORBServerId" ;    public static final String BAD_SERVER_ID_HANDLER_CLASS_PROPERTY	                                                        = SUN_PREFIX + "POA.ORBBadServerIdHandlerClass" ;    public static final String ACTIVATED_PROPERTY		= SUN_PREFIX + "POA.ORBActivated" ;    public static final String SERVER_NAME_PROPERTY		= SUN_PREFIX + "POA.ORBServerName" ;    // Server Properties; e.g. when properties passed to ORB activated    // servers    public static final String SERVER_DEF_VERIFY_PROPERTY	= SUN_PREFIX + "activation.ORBServerVerify" ;    // This one is an exception, but it may be externally visible    public static final String SUN_LC_PREFIX = "com.sun.corba." ;    // Necessary for package renaming to work correctly    public static final String SUN_LC_VERSION_PREFIX = "com.sun.corba.se.";    public static final String JTS_CLASS_PROPERTY		= SUN_LC_VERSION_PREFIX + "CosTransactions.ORBJTSClass" ;    // Property for enabling ORB's use of Java serialization.    public static final String ENABLE_JAVA_SERIALIZATION_PROPERTY = 	SUN_PREFIX + "encoding.ORBEnableJavaSerialization";    // Constants for ORB prefixes **************************************************************    public static final String PI_ORB_INITIALIZER_CLASS_PREFIX   =	"org.omg.PortableInterceptor.ORBInitializerClass.";    public static final String USE_DYNAMIC_STUB_PROPERTY = SUN_PREFIX + "ORBUseDynamicStub" ;    public static final String DYNAMIC_STUB_FACTORY_FACTORY_CLASS =	SUN_PREFIX + "ORBDynamicStubFactoryFactoryClass" ;        // Constants for NameService properties ************************************    public static final int DEFAULT_INITIAL_PORT                 = 900;    public static final String DEFAULT_INS_HOST = "localhost";    public static final int DEFAULT_INS_PORT                     = 2089;    public static final int DEFAULT_INS_GIOP_MAJOR_VERSION       = 1;    // http://www.omg.org/cgi-bin/doc?ptc/00-08-07 [ Section 13.6.7.3 ]    // defines the default GIOP minor version to be 0.    public static final int DEFAULT_INS_GIOP_MINOR_VERSION       = 0;    // Constants for INS properties ********************************************    // GIOP Version number for validation of INS URL format addresses    public static final int MAJORNUMBER_SUPPORTED                 = 1;    public static final int MINORNUMBERMAX                        = 2;    // Subcontract's differentiation using the TRANSIENT and PERSISTENT    // Name Service Property.    public static final int TRANSIENT                             = 1;    public static final int PERSISTENT                            = 2;    // Constants for ORBD properties ****************************************************************    // These properties are never passed on ORB init: they are only passed to ORBD.    public static final String DB_DIR_PROPERTY			= SUN_PREFIX + "activation.DbDir" ;    public static final String DB_PROPERTY			= SUN_PREFIX + "activation.db" ;    public static final String ORBD_PORT_PROPERTY		= SUN_PREFIX + "activation.Port" ;    public static final String SERVER_POLLING_TIME              = SUN_PREFIX + "activation.ServerPollingTime";    public static final String SERVER_STARTUP_DELAY             = SUN_PREFIX + "activation.ServerStartupDelay";    public static final int DEFAULT_ACTIVATION_PORT		= 1049 ;    // If RI is starting the NameService then they would indicate that by    // passing the RI flag. That would start a Persistent Port to listen to    // INS request.    public static final int RI_NAMESERVICE_PORT                 = 1050;    public static final int DEFAULT_SERVER_POLLING_TIME         = 1000;    public static final int DEFAULT_SERVER_STARTUP_DELAY        = 1000;    //***************** Constants for Logging ****************    public static final String LOG_LEVEL_PROPERTY               = SUN_PREFIX + "ORBLogLevel";    public static final String LOG_RESOURCE_FILE                =         "com.sun.corba.se.impl.logging.LogStrings";    // Constants for initial references *************************************************************    public static final String TRANSIENT_NAME_SERVICE_NAME = "TNameService" ;    public static final String PERSISTENT_NAME_SERVICE_NAME = "NameService" ;    // A large Number to make sure that other ServerIds doesn't collide    // with NameServer Persistent Server Id    public static final String NAME_SERVICE_SERVER_ID   = "1000000" ;    public static final String ROOT_POA_NAME		= "RootPOA" ;    public static final String POA_CURRENT_NAME		= "POACurrent" ;    public static final String SERVER_ACTIVATOR_NAME	= "ServerActivator" ;    public static final String SERVER_LOCATOR_NAME	= "ServerLocator" ;    public static final String SERVER_REPOSITORY_NAME	= "ServerRepository" ;    public static final String INITIAL_NAME_SERVICE_NAME= "InitialNameService" ;    public static final String TRANSACTION_CURRENT_NAME = "TransactionCurrent" ;    public static final String DYN_ANY_FACTORY_NAME	= "DynAnyFactory" ;    // New for Portable Interceptors    public static final String PI_CURRENT_NAME		= "PICurrent" ;    public static final String CODEC_FACTORY_NAME	= "CodecFactory" ;    // Constants for ORBD DB ***********************************************************************    public static final String DEFAULT_DB_DIR	    = "orb.db" ;    public static final String DEFAULT_DB_NAME	    = "db" ;    public static final String INITIAL_ORB_DB	    = "initial.db" ;    public static final String SERVER_LOG_DIR	    = "logs" ;    public static final String ORBID_DIR_BASE	    = "orbids" ;    public static final String ORBID_DB_FILE_NAME   = "orbids.db" ;    // Constants for ThreadPool ********************************************************************    // Default value for when inactive threads in the pool can stop running (ms)    public static final int DEFAULT_INACTIVITY_TIMEOUT = 120000;    // Default name of the threadpool    public static final String THREADPOOL_DEFAULT_NAME = "default-threadpool";    // Default name of the workqueue    public static final String WORKQUEUE_DEFAULT_NAME = "default-workqueue";    // Constants for minor code bases **************************************************************    // This is the value that pre-Merlin Sun ORBs incorrectly used.  We preserve this    // here for backwards compatibility, but note that the current ORB must never    // create a BAD_PARAM system exception with this minor code.    public static final int LEGACY_SUN_NOT_SERIALIZABLE = SUNVMCID.value + 1 ;    // Code Set related *******************************************************    // If we don't always send the code set context, there's a possibility    // of failure when fragments of a smaller request are interleved with    // those of a first request with other large service contexts.    //    public static final boolean DEFAULT_ALWAYS_SEND_CODESET_CTX = true;    public static final String ALWAYS_SEND_CODESET_CTX_PROPERTY        = SUN_PREFIX + "codeset.AlwaysSendCodeSetCtx";    // Use byte order markers in streams when applicable?  This won't apply to    // GIOP 1.1 due to limitations in the CDR encoding.    public static final boolean DEFAULT_USE_BYTE_ORDER_MARKERS = true;    public static final String USE_BOMS = SUN_PREFIX + "codeset.UseByteOrderMarkers";    // Use byte order markers in encapsulations when applicable?    public static final boolean DEFAULT_USE_BYTE_ORDER_MARKERS_IN_ENCAPS = false;    public static final String USE_BOMS_IN_ENCAPS = SUN_PREFIX + "codeset.UseByteOrderMarkersInEncaps";    // The CHAR_CODESETS and WCHAR_CODESETS allow the user to override the default    // connection code sets.  The value should be a comma separated list of OSF    // registry numbers.  The first number in the list will be the native code    // set.    //    // Number can be specified as hex if preceded by 0x, otherwise they are    // interpreted as decimal.    //    // Code sets that we accept currently (see core/OSFCodeSetRegistry):    //    // char/string:    //    // ISO8859-1 (Latin-1)     0x00010001    // ISO646 (ASCII)          0x00010020    // UTF-8                   0x05010001    //    // wchar/string:    //    // UTF-16                  0x00010109    // UCS-2                   0x00010100    // UTF-8                   0x05010001    //    // Note:  The ORB will let you assign any of the above values to    // either of the following properties, but the above assignments    // are the only ones that won't get you into trouble.    public static final String CHAR_CODESETS = SUN_PREFIX + "codeset.charsets";    public static final String WCHAR_CODESETS = SUN_PREFIX + "codeset.wcharsets";    // Constants to make stream format version code easier to read    public static final byte STREAM_FORMAT_VERSION_1 = (byte)1;    public static final byte STREAM_FORMAT_VERSION_2 = (byte)2;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -