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:
getORBInitialHostin interfaceORBData
-
getORBInitialPort
public int getORBInitialPort()
- Specified by:
getORBInitialPortin interfaceORBData
-
getORBServerHost
public java.lang.String getORBServerHost()
- Specified by:
getORBServerHostin interfaceORBData
-
getListenOnAllInterfaces
public boolean getListenOnAllInterfaces()
- Specified by:
getListenOnAllInterfacesin interfaceORBData
-
getORBServerPort
public int getORBServerPort()
- Specified by:
getORBServerPortin interfaceORBData
-
getLegacySocketFactory
public ORBSocketFactory getLegacySocketFactory()
- Specified by:
getLegacySocketFactoryin interfaceORBData
-
getSocketFactory
public ORBSocketFactory getSocketFactory()
- Specified by:
getSocketFactoryin interfaceORBData
-
getUserSpecifiedListenPorts
public USLPort[] getUserSpecifiedListenPorts()
- Specified by:
getUserSpecifiedListenPortsin interfaceORBData
-
getIORToSocketInfo
public IORToSocketInfo getIORToSocketInfo()
- Specified by:
getIORToSocketInfoin interfaceORBData
-
setIORToSocketInfo
public void setIORToSocketInfo(IORToSocketInfo x)
- Specified by:
setIORToSocketInfoin interfaceORBData
-
getIIOPPrimaryToContactInfo
public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
- Specified by:
getIIOPPrimaryToContactInfoin interfaceORBData
-
setIIOPPrimaryToContactInfo
public void setIIOPPrimaryToContactInfo(IIOPPrimaryToContactInfo x)
- Specified by:
setIIOPPrimaryToContactInfoin interfaceORBData
-
isLocalOptimizationAllowed
public boolean isLocalOptimizationAllowed()
- Specified by:
isLocalOptimizationAllowedin interfaceORBData
-
getGIOPVersion
public GIOPVersion 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
public int getGIOPBuffMgrStrategy(GIOPVersion gv)
- 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
public java.lang.Class<?> getBadServerIdHandler()
- Specified by:
getBadServerIdHandlerin 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:
getCodeSetComponentInfoin interfaceORBData- Returns:
- code sets for connections
-
getORBInitializers
public ORBInitializer[] getORBInitializers()
- Specified by:
getORBInitializersin interfaceORBData
-
addORBInitializer
public void addORBInitializer(ORBInitializer initializer)
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
public org.glassfish.pfl.basic.contain.Pair<java.lang.String,java.lang.String>[] getORBInitialReferences()
- Specified by:
getORBInitialReferencesin interfaceORBData
-
getORBDefaultInitialReference
public java.lang.String getORBDefaultInitialReference()
- Specified by:
getORBDefaultInitialReferencein interfaceORBData
-
getORBDebugFlags
public java.lang.String[] getORBDebugFlags()
- Specified by:
getORBDebugFlagsin interfaceORBData
-
getAcceptors
public Acceptor[] getAcceptors()
- Specified by:
getAcceptorsin interfaceORBData
-
getCorbaContactInfoListFactory
public ContactInfoListFactory getCorbaContactInfoListFactory()
- Specified by:
getCorbaContactInfoListFactoryin interfaceORBData
-
acceptorSocketType
public java.lang.String acceptorSocketType()
- Specified by:
acceptorSocketTypein interfaceORBData
-
acceptorSocketUseSelectThreadToWait
public boolean acceptorSocketUseSelectThreadToWait()
- Specified by:
acceptorSocketUseSelectThreadToWaitin interfaceORBData
-
acceptorSocketUseWorkerThreadForEvent
public boolean acceptorSocketUseWorkerThreadForEvent()
- Specified by:
acceptorSocketUseWorkerThreadForEventin interfaceORBData
-
connectionSocketType
public java.lang.String 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
public TcpTimeouts getTransportTcpTimeouts()
- Specified by:
getTransportTcpTimeoutsin interfaceORBData
-
getTransportTcpConnectTimeouts
public TcpTimeouts getTransportTcpConnectTimeouts()
- Specified by:
getTransportTcpConnectTimeoutsin interfaceORBData
-
disableDirectByteBufferUse
public boolean disableDirectByteBufferUse()
- Specified by:
disableDirectByteBufferUsein interfaceORBData
-
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
public void setOrbInitArgs(java.lang.String[] args)
- Specified by:
setOrbInitArgsin interfaceORBData
-
getOrbInitArgs
public java.lang.String[] getOrbInitArgs()
- Specified by:
getOrbInitArgsin interfaceORBData
-
disableORBD
public boolean disableORBD()
- Specified by:
disableORBDin interfaceORBData
-
-