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

📄 orbconstants.java

📁 java jdk 1.4的源码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    // 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" ;    // Constants for ORB prefixes **************************************************************    public static final String PI_ORB_INITIALIZER_CLASS_PREFIX   =	"org.omg.PortableInterceptor.ORBInitializerClass.";    // Constants for NameService properties ************************************    public static final int DEFAULT_INITIAL_PORT                 = 900;    // 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 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 int    NAME_SERVICE_SERVER_ID       = 100000;    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;    // Constants for minor code bases **************************************************************    public static final int SUBSYSTEM_SIZE	= 200 ;    // util/MinorCodes starts at SUNVMCID.value.  We do not include this here in order    // to avoid creating another dependency of the pure ORB support code on our ORB.    // GENERAL_BASE is used for orbutil/MinorCodes    public static final int GENERAL_BASE		= SUNVMCID.value    + SUBSYSTEM_SIZE ;    public static final int ACTIVATION_BASE		= GENERAL_BASE	    + SUBSYSTEM_SIZE ;    public static final int COSNAMING_BASE		= ACTIVATION_BASE   + SUBSYSTEM_SIZE ;    public static final int PORTABLE_INTERCEPTORS_BASE	= COSNAMING_BASE    + SUBSYSTEM_SIZE ;    public static final int POA_BASE			= PORTABLE_INTERCEPTORS_BASE + SUBSYSTEM_SIZE ;    public static final int IOR_BASE			= POA_BASE	    + SUBSYSTEM_SIZE ;    public static final int UTIL_BASE			= IOR_BASE	    + SUBSYSTEM_SIZE ;    // 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";}

⌨️ 快捷键说明

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