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
public class ORBDataParserImpl extends ParserImplTableBase implements ORBData
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ORBDataParserImpl(ORB orb, DataCollector coll)
-
Method Summary
-
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 Detail
-
wrapper
private static final ORBUtilSystemException wrapper
-
ORBInitialHost
private java.lang.String ORBInitialHost
-
ORBInitialPort
private int ORBInitialPort
-
ORBServerHost
private java.lang.String ORBServerHost
-
ORBServerPort
private int ORBServerPort
-
listenOnAllInterfaces
private boolean listenOnAllInterfaces
-
legacySocketFactory
private ORBSocketFactory legacySocketFactory
-
socketFactory
private ORBSocketFactory socketFactory
-
userSpecifiedListenPorts
private USLPort[] userSpecifiedListenPorts
-
iorToSocketInfo
private IORToSocketInfo iorToSocketInfo
-
iiopPrimaryToContactInfo
private IIOPPrimaryToContactInfo iiopPrimaryToContactInfo
-
orbId
private java.lang.String orbId
-
allowLocalOptimization
private boolean allowLocalOptimization
-
giopVersion
private GIOPVersion 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
private java.lang.Class<?> badServerIdHandlerClass
-
charData
private CodeSetComponentInfo.CodeSetComponent charData
-
wcharData
private CodeSetComponentInfo.CodeSetComponent wcharData
-
orbInitializers
private ORBInitializer[] orbInitializers
-
orbInitialReferences
private org.glassfish.pfl.basic.contain.Pair<java.lang.String,java.lang.String>[] orbInitialReferences
-
defaultInitRef
private java.lang.String defaultInitRef
-
debugFlags
private java.lang.String[] debugFlags
-
acceptors
private Acceptor[] acceptors
-
corbaContactInfoListFactory
private ContactInfoListFactory corbaContactInfoListFactory
-
acceptorSocketType
private java.lang.String acceptorSocketType
-
acceptorSocketUseSelectThreadToWait
private boolean acceptorSocketUseSelectThreadToWait
-
acceptorSocketUseWorkerThreadForEvent
private boolean acceptorSocketUseWorkerThreadForEvent
-
connectionSocketType
private java.lang.String connectionSocketType
-
connectionSocketUseSelectThreadToWait
private boolean connectionSocketUseSelectThreadToWait
-
connectionSocketUseWorkerThreadForEvent
private boolean connectionSocketUseWorkerThreadForEvent
-
communicationsRetryTimeout
private long communicationsRetryTimeout
-
waitForResponseTimeout
private long waitForResponseTimeout
-
tcpTimeouts
private TcpTimeouts tcpTimeouts
-
tcpConnectTimeouts
private 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
private CodeSetComponentInfo codesets
-
orbInitArgs
private java.lang.String[] orbInitArgs
-
disableORBD
private boolean disableORBD
-
-
Constructor Detail
-
ORBDataParserImpl
public ORBDataParserImpl(ORB orb, DataCollector coll)
-
-
Method Detail
-
getORBInitialHost
public java.lang.String getORBInitialHost()
- Specified by:
getORBInitialHost
in interfaceORBData
-
getORBInitialPort
public int getORBInitialPort()
- Specified by:
getORBInitialPort
in interfaceORBData
-
getORBServerHost
public java.lang.String 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
public ORBSocketFactory getLegacySocketFactory()
- Specified by:
getLegacySocketFactory
in interfaceORBData
-
getSocketFactory
public ORBSocketFactory getSocketFactory()
- Specified by:
getSocketFactory
in interfaceORBData
-
getUserSpecifiedListenPorts
public USLPort[] getUserSpecifiedListenPorts()
- Specified by:
getUserSpecifiedListenPorts
in interfaceORBData
-
getIORToSocketInfo
public IORToSocketInfo getIORToSocketInfo()
- Specified by:
getIORToSocketInfo
in interfaceORBData
-
setIORToSocketInfo
public void setIORToSocketInfo(IORToSocketInfo x)
- Specified by:
setIORToSocketInfo
in interfaceORBData
-
getIIOPPrimaryToContactInfo
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
- Specified by:
getIIOPPrimaryToContactInfo
in interfaceORBData
-
setIIOPPrimaryToContactInfo
public void setIIOPPrimaryToContactInfo(IIOPPrimaryToContactInfo x)
- Specified by:
setIIOPPrimaryToContactInfo
in interfaceORBData
-
isLocalOptimizationAllowed
public boolean isLocalOptimizationAllowed()
- Specified by:
isLocalOptimizationAllowed
in interfaceORBData
-
getGIOPVersion
public GIOPVersion 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
public int getGIOPBuffMgrStrategy(GIOPVersion gv)
- 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
public java.lang.Class<?> getBadServerIdHandler()
- Specified by:
getBadServerIdHandler
in interfaceORBData
-
getCodeSetComponentInfo
public CodeSetComponentInfo 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
public ORBInitializer[] getORBInitializers()
- Specified by:
getORBInitializers
in interfaceORBData
-
addORBInitializer
public void addORBInitializer(ORBInitializer initializer)
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
public org.glassfish.pfl.basic.contain.Pair<java.lang.String,java.lang.String>[] getORBInitialReferences()
- Specified by:
getORBInitialReferences
in interfaceORBData
-
getORBDefaultInitialReference
public java.lang.String getORBDefaultInitialReference()
- Specified by:
getORBDefaultInitialReference
in interfaceORBData
-
getORBDebugFlags
public java.lang.String[] getORBDebugFlags()
- Specified by:
getORBDebugFlags
in interfaceORBData
-
getAcceptors
public Acceptor[] getAcceptors()
- Specified by:
getAcceptors
in interfaceORBData
-
getCorbaContactInfoListFactory
public ContactInfoListFactory getCorbaContactInfoListFactory()
- Specified by:
getCorbaContactInfoListFactory
in interfaceORBData
-
acceptorSocketType
public java.lang.String 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
public java.lang.String 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
public TcpTimeouts getTransportTcpTimeouts()
- Specified by:
getTransportTcpTimeouts
in interfaceORBData
-
getTransportTcpConnectTimeouts
public TcpTimeouts getTransportTcpConnectTimeouts()
- Specified by:
getTransportTcpConnectTimeouts
in interfaceORBData
-
disableDirectByteBufferUse
public boolean disableDirectByteBufferUse()
- Specified by:
disableDirectByteBufferUse
in interfaceORBData
-
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
public void setOrbInitArgs(java.lang.String[] args)
- Specified by:
setOrbInitArgs
in interfaceORBData
-
getOrbInitArgs
public java.lang.String[] getOrbInitArgs()
- Specified by:
getOrbInitArgs
in interfaceORBData
-
disableORBD
public boolean disableORBD()
- Specified by:
disableORBD
in interfaceORBData
-
-