Package com.sun.corba.ee.impl.orb
Class ORBDataParserImpl
java.lang.Object
com.sun.corba.ee.spi.orb.ParserImplBase
com.sun.corba.ee.spi.orb.ParserImplTableBase
com.sun.corba.ee.impl.orb.ORBDataParserImpl
- All Implemented Interfaces:
ORBData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Acceptor[]private Stringprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate Class<?> private booleanprivate CodeSetComponentInfoprivate longprivate Stringprivate booleanprivate booleanprivate ContactInfoListFactoryprivate String[]private Stringprivate booleanprivate booleanprivate booleanprivate booleanprivate intprivate booleanprivate intprivate intprivate shortprivate intprivate intprivate shortprivate GIOPVersionprivate intprivate IIOPPrimaryToContactInfoprivate IORToSocketInfoprivate booleanprivate ORBSocketFactoryprivate booleanprivate intprivate intprivate booleanprivate booleanprivate intprivate Stringprivate String[]private Stringprivate ORBInitializer[]private intprivate Stringprivate intprivate booleanprivate intprivate booleanprivate intprivate intprivate intprivate booleanprivate booleanprivate booleanprivate ORBSocketFactoryprivate TcpTimeoutsprivate TcpTimeoutsprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate USLPort[]private longprivate static final ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidaddORBInitializer(ORBInitializer initializer) Added to allow user configurators to add ORBInitializers for PI.booleanvoidalwaysEnterBlockingRead(boolean b) booleanbooleanvoidcomplete()Override this method if there is some needed initialization that takes place after argument parsing.booleanbooleanbooleanbooleanbooleanintAcceptor[]Class<?> Get the prefered code sets for connections.longshortintintintshortintbooleanintintintString[]getORBId()String[]intintbooleanintReturn the persistent-server-id of this server.booleanintintintbooleanbooleanUSLPort[]longprivate voidbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidvoidsetOrbInitArgs(String[] args) booleanbooleanbooleanbooleanbooleanbooleanuseRepId()Methods inherited from class com.sun.corba.ee.spi.orb.ParserImplTableBase
makeParser, setDefaultValues, setTestValuesMethods inherited from class com.sun.corba.ee.spi.orb.ParserImplBase
init, setFields
-
Field Details
-
wrapper
-
ORBInitialHost
-
ORBInitialPort
private int ORBInitialPort -
ORBServerHost
-
ORBServerPort
private int ORBServerPort -
listenOnAllInterfaces
private boolean listenOnAllInterfaces -
legacySocketFactory
-
socketFactory
-
userSpecifiedListenPorts
-
iorToSocketInfo
-
iiopPrimaryToContactInfo
-
orbId
-
allowLocalOptimization
private boolean allowLocalOptimization -
giopVersion
-
highWaterMark
private int highWaterMark -
lowWaterMark
private int lowWaterMark -
numberToReclaim
private int numberToReclaim -
giopFragmentSize
private int giopFragmentSize -
giopBufferSize
private int giopBufferSize -
giop11BuffMgr
private int giop11BuffMgr -
giop12BuffMgr
private int giop12BuffMgr -
giopTargetAddressPreference
private short giopTargetAddressPreference -
giopAddressDisposition
private short giopAddressDisposition -
useByteOrderMarkers
private boolean useByteOrderMarkers -
useByteOrderMarkersInEncaps
private boolean useByteOrderMarkersInEncaps -
alwaysSendCodeSetCtx
private boolean alwaysSendCodeSetCtx -
persistentPortInitialized
private boolean persistentPortInitialized -
persistentServerPort
private int persistentServerPort -
persistentServerIdInitialized
private boolean persistentServerIdInitialized -
persistentServerId
private int persistentServerId -
serverIsORBActivated
private boolean serverIsORBActivated -
badServerIdHandlerClass
-
charData
-
wcharData
-
orbInitializers
-
orbInitialReferences
-
defaultInitRef
-
debugFlags
-
acceptors
-
corbaContactInfoListFactory
-
acceptorSocketType
-
acceptorSocketUseSelectThreadToWait
private boolean acceptorSocketUseSelectThreadToWait -
acceptorSocketUseWorkerThreadForEvent
private boolean acceptorSocketUseWorkerThreadForEvent -
connectionSocketType
-
connectionSocketUseSelectThreadToWait
private boolean connectionSocketUseSelectThreadToWait -
connectionSocketUseWorkerThreadForEvent
private boolean connectionSocketUseWorkerThreadForEvent -
communicationsRetryTimeout
private long communicationsRetryTimeout -
waitForResponseTimeout
private long waitForResponseTimeout -
tcpTimeouts
-
tcpConnectTimeouts
-
disableDirectByteBufferUse
private boolean disableDirectByteBufferUse -
enableJavaSerialization
private boolean enableJavaSerialization -
useRepId
private boolean useRepId -
showInfoMessages
private boolean showInfoMessages -
getServiceContextReturnsNull
private boolean getServiceContextReturnsNull -
isAppServerMode
private boolean isAppServerMode -
readByteBufferSize
private int readByteBufferSize -
maxReadByteBufferSizeThreshold
private int maxReadByteBufferSizeThreshold -
pooledDirectByteBufferSlabSize
private int pooledDirectByteBufferSlabSize -
alwaysEnterBlockingRead
private boolean alwaysEnterBlockingRead -
nonBlockingReadCheckMessageParser
private boolean nonBlockingReadCheckMessageParser -
blockingReadCheckMessageParser
private boolean blockingReadCheckMessageParser -
timingPointsEnabled
private boolean timingPointsEnabled -
useEnumDesc
private boolean useEnumDesc -
environmentIsGFServer
private boolean environmentIsGFServer -
noDefaultAcceptors
private boolean noDefaultAcceptors -
registerMBeans
private boolean registerMBeans -
fragmentReadTimeout
private int fragmentReadTimeout -
codesets
-
orbInitArgs
-
disableORBD
private boolean disableORBD
-
-
Constructor Details
-
ORBDataParserImpl
-
-
Method Details
-
getORBInitialHost
- Specified by:
getORBInitialHostin interfaceORBData
-
getORBInitialPort
public int getORBInitialPort()- Specified by:
getORBInitialPortin interfaceORBData
-
getORBServerHost
- Specified by:
getORBServerHostin interfaceORBData
-
getListenOnAllInterfaces
public boolean getListenOnAllInterfaces()- Specified by:
getListenOnAllInterfacesin interfaceORBData
-
getORBServerPort
public int getORBServerPort()- Specified by:
getORBServerPortin interfaceORBData
-
getLegacySocketFactory
- Specified by:
getLegacySocketFactoryin interfaceORBData
-
getSocketFactory
- Specified by:
getSocketFactoryin interfaceORBData
-
getUserSpecifiedListenPorts
- Specified by:
getUserSpecifiedListenPortsin interfaceORBData
-
getIORToSocketInfo
- Specified by:
getIORToSocketInfoin interfaceORBData
-
setIORToSocketInfo
- Specified by:
setIORToSocketInfoin interfaceORBData
-
getIIOPPrimaryToContactInfo
- Specified by:
getIIOPPrimaryToContactInfoin interfaceORBData
-
setIIOPPrimaryToContactInfo
- Specified by:
setIIOPPrimaryToContactInfoin interfaceORBData
-
getORBId
-
isLocalOptimizationAllowed
public boolean isLocalOptimizationAllowed()- Specified by:
isLocalOptimizationAllowedin interfaceORBData
-
getGIOPVersion
- Specified by:
getGIOPVersionin interfaceORBData
-
getHighWaterMark
public int getHighWaterMark()- Specified by:
getHighWaterMarkin interfaceORBData
-
getLowWaterMark
public int getLowWaterMark() -
getNumberToReclaim
public int getNumberToReclaim()- Specified by:
getNumberToReclaimin interfaceORBData
-
getGIOPFragmentSize
public int getGIOPFragmentSize()- Specified by:
getGIOPFragmentSizein interfaceORBData
-
getGIOPBufferSize
public int getGIOPBufferSize()- Specified by:
getGIOPBufferSizein interfaceORBData
-
getGIOPBuffMgrStrategy
- Specified by:
getGIOPBuffMgrStrategyin interfaceORBData
-
getGIOPTargetAddressPreference
public short getGIOPTargetAddressPreference()- Specified by:
getGIOPTargetAddressPreferencein interfaceORBData- Returns:
- the GIOP Target Addressing preference of the ORB. This ORB by default supports all addressing dispositions unless specified otherwise via a java system property ORBConstants.GIOP_TARGET_ADDRESSING
-
getGIOPAddressDisposition
public short getGIOPAddressDisposition()- Specified by:
getGIOPAddressDispositionin interfaceORBData
-
useByteOrderMarkers
public boolean useByteOrderMarkers()- Specified by:
useByteOrderMarkersin interfaceORBData
-
useByteOrderMarkersInEncapsulations
public boolean useByteOrderMarkersInEncapsulations()- Specified by:
useByteOrderMarkersInEncapsulationsin interfaceORBData
-
alwaysSendCodeSetServiceContext
public boolean alwaysSendCodeSetServiceContext()- Specified by:
alwaysSendCodeSetServiceContextin interfaceORBData
-
getPersistentPortInitialized
public boolean getPersistentPortInitialized()- Specified by:
getPersistentPortInitializedin interfaceORBData
-
getPersistentServerPort
public int getPersistentServerPort()- Specified by:
getPersistentServerPortin interfaceORBData
-
getPersistentServerIdInitialized
public boolean getPersistentServerIdInitialized()- Specified by:
getPersistentServerIdInitializedin interfaceORBData
-
getPersistentServerId
public int getPersistentServerId()Return the persistent-server-id of this server. This id is the same across multiple activations of this server. This is in contrast to com.sun.corba.ee.impl.iiop.ORB.getTransientServerId() which returns a transient id that is guaranteed to be different across multiple activations of this server. The user/environment is required to supply the persistent-server-id every time this server is started, in the ORBServerId parameter, System properties, or other means. The user is also required to ensure that no two persistent servers on the same host have the same server-id.- Specified by:
getPersistentServerIdin interfaceORBData- Returns:
- persistent-server-id of server
-
getServerIsORBActivated
public boolean getServerIsORBActivated()- Specified by:
getServerIsORBActivatedin interfaceORBData
-
getBadServerIdHandler
- Specified by:
getBadServerIdHandlerin interfaceORBData
-
getCodeSetComponentInfo
Get the prefered code sets for connections. Should the client send the code set service context on every request?- Specified by:
getCodeSetComponentInfoin interfaceORBData- Returns:
- code sets for connections
-
getORBInitializers
- Specified by:
getORBInitializersin interfaceORBData
-
addORBInitializer
Description copied from interface:ORBDataAdded to allow user configurators to add ORBInitializers for PI. This makes it possible to add interceptors from an ORBConfigurator. XXX Should this be an operation, or a set only attribute? Should it even be exposed in the MBean?- Specified by:
addORBInitializerin interfaceORBData- Parameters:
initializer- used to initialize resolve_initial_references
-
getORBInitialReferences
- Specified by:
getORBInitialReferencesin interfaceORBData
-
getORBDefaultInitialReference
- Specified by:
getORBDefaultInitialReferencein interfaceORBData
-
getORBDebugFlags
- Specified by:
getORBDebugFlagsin interfaceORBData
-
getAcceptors
- Specified by:
getAcceptorsin interfaceORBData
-
getCorbaContactInfoListFactory
- Specified by:
getCorbaContactInfoListFactoryin interfaceORBData
-
acceptorSocketType
- Specified by:
acceptorSocketTypein interfaceORBData
-
acceptorSocketUseSelectThreadToWait
public boolean acceptorSocketUseSelectThreadToWait()- Specified by:
acceptorSocketUseSelectThreadToWaitin interfaceORBData
-
acceptorSocketUseWorkerThreadForEvent
public boolean acceptorSocketUseWorkerThreadForEvent()- Specified by:
acceptorSocketUseWorkerThreadForEventin interfaceORBData
-
connectionSocketType
- Specified by:
connectionSocketTypein interfaceORBData
-
connectionSocketUseSelectThreadToWait
public boolean connectionSocketUseSelectThreadToWait()- Specified by:
connectionSocketUseSelectThreadToWaitin interfaceORBData
-
connectionSocketUseWorkerThreadForEvent
public boolean connectionSocketUseWorkerThreadForEvent()- Specified by:
connectionSocketUseWorkerThreadForEventin interfaceORBData
-
isJavaSerializationEnabled
public boolean isJavaSerializationEnabled()- Specified by:
isJavaSerializationEnabledin interfaceORBData
-
getCommunicationsRetryTimeout
public long getCommunicationsRetryTimeout()- Specified by:
getCommunicationsRetryTimeoutin interfaceORBData
-
getWaitForResponseTimeout
public long getWaitForResponseTimeout()- Specified by:
getWaitForResponseTimeoutin interfaceORBData
-
getTransportTcpTimeouts
- Specified by:
getTransportTcpTimeoutsin interfaceORBData
-
getTransportTcpConnectTimeouts
- Specified by:
getTransportTcpConnectTimeoutsin interfaceORBData
-
disableDirectByteBufferUse
public boolean disableDirectByteBufferUse()- Specified by:
disableDirectByteBufferUsein interfaceORBData
-
useRepId
public boolean useRepId() -
showInfoMessages
public boolean showInfoMessages()- Specified by:
showInfoMessagesin interfaceORBData
-
getServiceContextReturnsNull
public boolean getServiceContextReturnsNull()- Specified by:
getServiceContextReturnsNullin interfaceORBData
-
isAppServerMode
public boolean isAppServerMode()- Specified by:
isAppServerModein interfaceORBData
-
getReadByteBufferSize
public int getReadByteBufferSize()- Specified by:
getReadByteBufferSizein interfaceORBData
-
getMaxReadByteBufferSizeThreshold
public int getMaxReadByteBufferSizeThreshold()- Specified by:
getMaxReadByteBufferSizeThresholdin interfaceORBData
-
getPooledDirectByteBufferSlabSize
public int getPooledDirectByteBufferSlabSize()- Specified by:
getPooledDirectByteBufferSlabSizein interfaceORBData
-
alwaysEnterBlockingRead
public boolean alwaysEnterBlockingRead()- Specified by:
alwaysEnterBlockingReadin interfaceORBData
-
alwaysEnterBlockingRead
public void alwaysEnterBlockingRead(boolean b) - Specified by:
alwaysEnterBlockingReadin interfaceORBData
-
nonBlockingReadCheckMessageParser
public boolean nonBlockingReadCheckMessageParser()- Specified by:
nonBlockingReadCheckMessageParserin interfaceORBData
-
blockingReadCheckMessageParser
public boolean blockingReadCheckMessageParser()- Specified by:
blockingReadCheckMessageParserin interfaceORBData
-
complete
public void complete()Description copied from class:ParserImplBaseOverride this method if there is some needed initialization that takes place after argument parsing.- Overrides:
completein classParserImplBase
-
initializeServerHostInfo
private void initializeServerHostInfo() -
timingPointsEnabled
public boolean timingPointsEnabled()- Specified by:
timingPointsEnabledin interfaceORBData
-
useEnumDesc
public boolean useEnumDesc()- Specified by:
useEnumDescin interfaceORBData
-
environmentIsGFServer
public boolean environmentIsGFServer()- Specified by:
environmentIsGFServerin interfaceORBData
-
noDefaultAcceptors
public boolean noDefaultAcceptors()- Specified by:
noDefaultAcceptorsin interfaceORBData
-
registerMBeans
public boolean registerMBeans()- Specified by:
registerMBeansin interfaceORBData
-
fragmentReadTimeout
public int fragmentReadTimeout()- Specified by:
fragmentReadTimeoutin interfaceORBData
-
setOrbInitArgs
- Specified by:
setOrbInitArgsin interfaceORBData
-
getOrbInitArgs
- Specified by:
getOrbInitArgsin interfaceORBData
-
disableORBD
public boolean disableORBD()- Specified by:
disableORBDin interfaceORBData
-