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 String
private boolean
private boolean
private boolean
private boolean
private boolean
private Class
<?> private boolean
private CodeSetComponentInfo
private long
private String
private boolean
private boolean
private ContactInfoListFactory
private String[]
private String
private boolean
private boolean
private boolean
private boolean
private int
private boolean
private int
private int
private short
private int
private int
private short
private GIOPVersion
private int
private IIOPPrimaryToContactInfo
private IORToSocketInfo
private boolean
private ORBSocketFactory
private boolean
private int
private int
private boolean
private boolean
private int
private String
private String[]
private String
private ORBInitializer[]
private int
private String
private int
private boolean
private int
private boolean
private int
private int
private int
private boolean
private boolean
private boolean
private ORBSocketFactory
private TcpTimeouts
private TcpTimeouts
private boolean
private boolean
private boolean
private boolean
private boolean
private USLPort[]
private long
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
addORBInitializer
(ORBInitializer initializer) Added to allow user configurators to add ORBInitializers for PI.boolean
void
alwaysEnterBlockingRead
(boolean b) boolean
boolean
void
complete()
Override this method if there is some needed initialization that takes place after argument parsing.boolean
boolean
boolean
boolean
boolean
int
Acceptor[]
Class
<?> Get the prefered code sets for connections.long
short
int
int
int
short
int
boolean
int
int
int
String[]
getORBId()
String[]
int
int
boolean
int
Return the persistent-server-id of this server.boolean
int
int
int
boolean
boolean
USLPort[]
long
private void
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
setOrbInitArgs
(String[] args) boolean
boolean
boolean
boolean
boolean
boolean
useRepId()
Methods inherited from class com.sun.corba.ee.spi.orb.ParserImplTableBase
makeParser, setDefaultValues, setTestValues
Methods 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:
getORBInitialHost
in interfaceORBData
-
getORBInitialPort
public int getORBInitialPort()- Specified by:
getORBInitialPort
in interfaceORBData
-
getORBServerHost
- Specified by:
getORBServerHost
in interfaceORBData
-
getListenOnAllInterfaces
public boolean getListenOnAllInterfaces()- Specified by:
getListenOnAllInterfaces
in interfaceORBData
-
getORBServerPort
public int getORBServerPort()- Specified by:
getORBServerPort
in interfaceORBData
-
getLegacySocketFactory
- Specified by:
getLegacySocketFactory
in interfaceORBData
-
getSocketFactory
- Specified by:
getSocketFactory
in interfaceORBData
-
getUserSpecifiedListenPorts
- Specified by:
getUserSpecifiedListenPorts
in interfaceORBData
-
getIORToSocketInfo
- Specified by:
getIORToSocketInfo
in interfaceORBData
-
setIORToSocketInfo
- Specified by:
setIORToSocketInfo
in interfaceORBData
-
getIIOPPrimaryToContactInfo
- Specified by:
getIIOPPrimaryToContactInfo
in interfaceORBData
-
setIIOPPrimaryToContactInfo
- Specified by:
setIIOPPrimaryToContactInfo
in interfaceORBData
-
getORBId
-
isLocalOptimizationAllowed
public boolean isLocalOptimizationAllowed()- Specified by:
isLocalOptimizationAllowed
in interfaceORBData
-
getGIOPVersion
- Specified by:
getGIOPVersion
in interfaceORBData
-
getHighWaterMark
public int getHighWaterMark()- Specified by:
getHighWaterMark
in interfaceORBData
-
getLowWaterMark
public int getLowWaterMark() -
getNumberToReclaim
public int getNumberToReclaim()- Specified by:
getNumberToReclaim
in interfaceORBData
-
getGIOPFragmentSize
public int getGIOPFragmentSize()- Specified by:
getGIOPFragmentSize
in interfaceORBData
-
getGIOPBufferSize
public int getGIOPBufferSize()- Specified by:
getGIOPBufferSize
in interfaceORBData
-
getGIOPBuffMgrStrategy
- Specified by:
getGIOPBuffMgrStrategy
in interfaceORBData
-
getGIOPTargetAddressPreference
public short getGIOPTargetAddressPreference()- Specified by:
getGIOPTargetAddressPreference
in 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:
getGIOPAddressDisposition
in interfaceORBData
-
useByteOrderMarkers
public boolean useByteOrderMarkers()- Specified by:
useByteOrderMarkers
in interfaceORBData
-
useByteOrderMarkersInEncapsulations
public boolean useByteOrderMarkersInEncapsulations()- Specified by:
useByteOrderMarkersInEncapsulations
in interfaceORBData
-
alwaysSendCodeSetServiceContext
public boolean alwaysSendCodeSetServiceContext()- Specified by:
alwaysSendCodeSetServiceContext
in interfaceORBData
-
getPersistentPortInitialized
public boolean getPersistentPortInitialized()- Specified by:
getPersistentPortInitialized
in interfaceORBData
-
getPersistentServerPort
public int getPersistentServerPort()- Specified by:
getPersistentServerPort
in interfaceORBData
-
getPersistentServerIdInitialized
public boolean getPersistentServerIdInitialized()- Specified by:
getPersistentServerIdInitialized
in 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:
getPersistentServerId
in interfaceORBData
- Returns:
- persistent-server-id of server
-
getServerIsORBActivated
public boolean getServerIsORBActivated()- Specified by:
getServerIsORBActivated
in interfaceORBData
-
getBadServerIdHandler
- Specified by:
getBadServerIdHandler
in interfaceORBData
-
getCodeSetComponentInfo
Get the prefered code sets for connections. Should the client send the code set service context on every request?- Specified by:
getCodeSetComponentInfo
in interfaceORBData
- Returns:
- code sets for connections
-
getORBInitializers
- Specified by:
getORBInitializers
in interfaceORBData
-
addORBInitializer
Description copied from interface:ORBData
Added 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:
addORBInitializer
in interfaceORBData
- Parameters:
initializer
- used to initialize resolve_initial_references
-
getORBInitialReferences
- Specified by:
getORBInitialReferences
in interfaceORBData
-
getORBDefaultInitialReference
- Specified by:
getORBDefaultInitialReference
in interfaceORBData
-
getORBDebugFlags
- Specified by:
getORBDebugFlags
in interfaceORBData
-
getAcceptors
- Specified by:
getAcceptors
in interfaceORBData
-
getCorbaContactInfoListFactory
- Specified by:
getCorbaContactInfoListFactory
in interfaceORBData
-
acceptorSocketType
- Specified by:
acceptorSocketType
in interfaceORBData
-
acceptorSocketUseSelectThreadToWait
public boolean acceptorSocketUseSelectThreadToWait()- Specified by:
acceptorSocketUseSelectThreadToWait
in interfaceORBData
-
acceptorSocketUseWorkerThreadForEvent
public boolean acceptorSocketUseWorkerThreadForEvent()- Specified by:
acceptorSocketUseWorkerThreadForEvent
in interfaceORBData
-
connectionSocketType
- Specified by:
connectionSocketType
in interfaceORBData
-
connectionSocketUseSelectThreadToWait
public boolean connectionSocketUseSelectThreadToWait()- Specified by:
connectionSocketUseSelectThreadToWait
in interfaceORBData
-
connectionSocketUseWorkerThreadForEvent
public boolean connectionSocketUseWorkerThreadForEvent()- Specified by:
connectionSocketUseWorkerThreadForEvent
in interfaceORBData
-
isJavaSerializationEnabled
public boolean isJavaSerializationEnabled()- Specified by:
isJavaSerializationEnabled
in interfaceORBData
-
getCommunicationsRetryTimeout
public long getCommunicationsRetryTimeout()- Specified by:
getCommunicationsRetryTimeout
in interfaceORBData
-
getWaitForResponseTimeout
public long getWaitForResponseTimeout()- Specified by:
getWaitForResponseTimeout
in interfaceORBData
-
getTransportTcpTimeouts
- Specified by:
getTransportTcpTimeouts
in interfaceORBData
-
getTransportTcpConnectTimeouts
- Specified by:
getTransportTcpConnectTimeouts
in interfaceORBData
-
disableDirectByteBufferUse
public boolean disableDirectByteBufferUse()- Specified by:
disableDirectByteBufferUse
in interfaceORBData
-
useRepId
public boolean useRepId() -
showInfoMessages
public boolean showInfoMessages()- Specified by:
showInfoMessages
in interfaceORBData
-
getServiceContextReturnsNull
public boolean getServiceContextReturnsNull()- Specified by:
getServiceContextReturnsNull
in interfaceORBData
-
isAppServerMode
public boolean isAppServerMode()- Specified by:
isAppServerMode
in interfaceORBData
-
getReadByteBufferSize
public int getReadByteBufferSize()- Specified by:
getReadByteBufferSize
in interfaceORBData
-
getMaxReadByteBufferSizeThreshold
public int getMaxReadByteBufferSizeThreshold()- Specified by:
getMaxReadByteBufferSizeThreshold
in interfaceORBData
-
getPooledDirectByteBufferSlabSize
public int getPooledDirectByteBufferSlabSize()- Specified by:
getPooledDirectByteBufferSlabSize
in interfaceORBData
-
alwaysEnterBlockingRead
public boolean alwaysEnterBlockingRead()- Specified by:
alwaysEnterBlockingRead
in interfaceORBData
-
alwaysEnterBlockingRead
public void alwaysEnterBlockingRead(boolean b) - Specified by:
alwaysEnterBlockingRead
in interfaceORBData
-
nonBlockingReadCheckMessageParser
public boolean nonBlockingReadCheckMessageParser()- Specified by:
nonBlockingReadCheckMessageParser
in interfaceORBData
-
blockingReadCheckMessageParser
public boolean blockingReadCheckMessageParser()- Specified by:
blockingReadCheckMessageParser
in interfaceORBData
-
complete
public void complete()Description copied from class:ParserImplBase
Override this method if there is some needed initialization that takes place after argument parsing.- Overrides:
complete
in classParserImplBase
-
initializeServerHostInfo
private void initializeServerHostInfo() -
timingPointsEnabled
public boolean timingPointsEnabled()- Specified by:
timingPointsEnabled
in interfaceORBData
-
useEnumDesc
public boolean useEnumDesc()- Specified by:
useEnumDesc
in interfaceORBData
-
environmentIsGFServer
public boolean environmentIsGFServer()- Specified by:
environmentIsGFServer
in interfaceORBData
-
noDefaultAcceptors
public boolean noDefaultAcceptors()- Specified by:
noDefaultAcceptors
in interfaceORBData
-
registerMBeans
public boolean registerMBeans()- Specified by:
registerMBeans
in interfaceORBData
-
fragmentReadTimeout
public int fragmentReadTimeout()- Specified by:
fragmentReadTimeout
in interfaceORBData
-
setOrbInitArgs
- Specified by:
setOrbInitArgs
in interfaceORBData
-
getOrbInitArgs
- Specified by:
getOrbInitArgs
in interfaceORBData
-
disableORBD
public boolean disableORBD()- Specified by:
disableORBD
in interfaceORBData
-