Package com.sun.corba.ee.spi.orb
Interface ORBData
- All Known Implementing Classes:
ORBDataParserImpl
@ManagedObject
@Description("ORB Configuration data")
@AMXMetadata(isSingleton=true)
public interface ORBData
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
Added to allow user configurators to add ORBInitializers for PI.boolean
void
alwaysEnterBlockingRead
(boolean b) boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
Acceptor[]
Get the preferred code sets for connections.long
short
int
int
int
short
int
boolean
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
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
setOrbInitArgs
(String[] args) boolean
boolean
boolean
boolean
boolean
boolean
useRepId()
default void
-
Method Details
-
getORBInitialHost
@ManagedAttribute @Description("Value of ORBInitialHost, the host name of the remote name service") String getORBInitialHost() -
getORBInitialPort
@ManagedAttribute @Description("Value of ORBInitialPort, the port number of the remote name service") int getORBInitialPort() -
getORBServerHost
-
getORBServerPort
@ManagedAttribute @Description("DESC") int getORBServerPort() -
getListenOnAllInterfaces
@ManagedAttribute @Description("If true, the ORB listens at its ports on all IP interfaces on the host") boolean getListenOnAllInterfaces() -
getLegacySocketFactory
@ManagedAttribute @Description("The implementation of the legacy ORBSocketFactory interface in use (if any)") ORBSocketFactory getLegacySocketFactory() -
getSocketFactory
@ManagedAttribute @Description("The implementation of the ORBSocketFactory interface in use (if any)") ORBSocketFactory getSocketFactory() -
getUserSpecifiedListenPorts
@ManagedAttribute @Description("Return the user-specified listen ports, on which the ORB listens for incoming requests") USLPort[] getUserSpecifiedListenPorts() -
getIORToSocketInfo
@ManagedAttribute @Description("Return the instance of the IORToSocketInfo interface, which is used to get SocketInfo from IORs") IORToSocketInfo getIORToSocketInfo() -
setIORToSocketInfo
-
getIIOPPrimaryToContactInfo
@ManagedAttribute @Description("Return the instance of the IIOPPrimaryToContactInfo interface") IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo() -
setIIOPPrimaryToContactInfo
-
getORBId
-
isLocalOptimizationAllowed
@ManagedAttribute @Description("Returns true if the RMI-IIOP local optimization (caching servant in local subcontract) is allowed.") boolean isLocalOptimizationAllowed() -
getGIOPVersion
@ManagedAttribute @Description("Return the GIOP version that will be prefered for sending requests") GIOPVersion getGIOPVersion() -
getHighWaterMark
@ManagedAttribute @Description("Return the high water mark for the connection cache") int getHighWaterMark() -
getNumberToReclaim
@ManagedAttribute @Description("Return the number of connections to attempt to reclaim when the total number of connections exceeds the high water mark") int getNumberToReclaim() -
getGIOPFragmentSize
@ManagedAttribute @Description("Return the ") int getGIOPFragmentSize() -
getGIOPBufferSize
int getGIOPBufferSize() -
getGIOPBuffMgrStrategy
-
getGIOPTargetAddressPreference
@ManagedAttribute @Description("The ORB required target addressing mode: 0:ObjectKey, 1:TaggedProfile, 2:EntireIOR, 3:Accept All (default)") short getGIOPTargetAddressPreference()- 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
@ManagedAttribute @Description("The ORB required target addressing mode: 0:ObjectKey, 1:TaggedProfile, 2:EntireIOR, 3:Accept All (default)") short getGIOPAddressDisposition() -
useByteOrderMarkers
@ManagedAttribute @Description("DESC") boolean useByteOrderMarkers() -
useByteOrderMarkersInEncapsulations
@ManagedAttribute @Description("DESC") boolean useByteOrderMarkersInEncapsulations() -
alwaysSendCodeSetServiceContext
@ManagedAttribute @Description("DESC") boolean alwaysSendCodeSetServiceContext() -
getPersistentPortInitialized
@ManagedAttribute @Description("DESC") boolean getPersistentPortInitialized() -
getPersistentServerPort
@ManagedAttribute @Description("DESC") int getPersistentServerPort() -
getPersistentServerIdInitialized
@ManagedAttribute @Description("DESC") boolean getPersistentServerIdInitialized() -
getPersistentServerId
@ManagedAttribute @Description("DESC") int getPersistentServerId()Return the persistent-server-id of this server. This id is the same 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.- Returns:
- persistent-server-id of server
-
getServerIsORBActivated
@ManagedAttribute @Description("DESC") boolean getServerIsORBActivated() -
getBadServerIdHandler
-
getCodeSetComponentInfo
Get the preferred code sets for connections. Should the client send the code set service context on every request?- Returns:
- code sets for connections
-
getORBInitializers
-
addORBInitializer
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?- Parameters:
init
- used to initialize resolve_initial_references
-
getORBInitialReferences
-
getORBDefaultInitialReference
String getORBDefaultInitialReference() -
getORBDebugFlags
-
getAcceptors
-
getCorbaContactInfoListFactory
-
acceptorSocketType
-
acceptorSocketUseSelectThreadToWait
@ManagedAttribute @Description("DESC") boolean acceptorSocketUseSelectThreadToWait() -
acceptorSocketUseWorkerThreadForEvent
@ManagedAttribute @Description("DESC") boolean acceptorSocketUseWorkerThreadForEvent() -
connectionSocketType
-
connectionSocketUseSelectThreadToWait
@ManagedAttribute @Description("DESC") boolean connectionSocketUseSelectThreadToWait() -
connectionSocketUseWorkerThreadForEvent
@ManagedAttribute @Description("DESC") boolean connectionSocketUseWorkerThreadForEvent() -
getCommunicationsRetryTimeout
@ManagedAttribute @Description("DESC") long getCommunicationsRetryTimeout() -
getWaitForResponseTimeout
@ManagedAttribute @Description("DESC") long getWaitForResponseTimeout() -
getTransportTcpTimeouts
-
getTransportTcpConnectTimeouts
-
disableDirectByteBufferUse
@ManagedAttribute @Description("DESC") boolean disableDirectByteBufferUse() -
isJavaSerializationEnabled
@ManagedAttribute @Description("DESC") boolean isJavaSerializationEnabled() -
useRepId
@ManagedAttribute @Description("DESC") boolean useRepId() -
showInfoMessages
@ManagedAttribute @Description("DESC") boolean showInfoMessages() -
getServiceContextReturnsNull
@ManagedAttribute @Description("DESC") boolean getServiceContextReturnsNull() -
isAppServerMode
@ManagedAttribute @Description("DESC") boolean isAppServerMode() -
getReadByteBufferSize
@ManagedAttribute @Description("DESC") int getReadByteBufferSize() -
getMaxReadByteBufferSizeThreshold
@ManagedAttribute @Description("DESC") int getMaxReadByteBufferSizeThreshold() -
getPooledDirectByteBufferSlabSize
@ManagedAttribute @Description("DESC") int getPooledDirectByteBufferSlabSize() -
alwaysEnterBlockingRead
@ManagedAttribute @Description("DESC") boolean alwaysEnterBlockingRead() -
alwaysEnterBlockingRead
@ManagedAttribute @Description("DESC") void alwaysEnterBlockingRead(boolean b) -
nonBlockingReadCheckMessageParser
@ManagedAttribute @Description("DESC") boolean nonBlockingReadCheckMessageParser() -
blockingReadCheckMessageParser
@ManagedAttribute @Description("DESC") boolean blockingReadCheckMessageParser() -
timingPointsEnabled
@ManagedAttribute @Description("DESC") boolean timingPointsEnabled() -
useEnumDesc
@ManagedAttribute @Description("DESC") boolean useEnumDesc() -
environmentIsGFServer
@ManagedAttribute @Description("Returns true if ORB is running inside the GFv3 application server") boolean environmentIsGFServer() -
noDefaultAcceptors
@ManagedAttribute @Description("If true, do not start any acceptors in the transport by default") boolean noDefaultAcceptors() -
registerMBeans
boolean registerMBeans() -
fragmentReadTimeout
@ManagedAttribute @Description("The time that a CDRInputStream will wait for more data before throwing an exception") int fragmentReadTimeout() -
setOrbInitArgs
-
getOrbInitArgs
@ManagedAttribute @Description("The String[] args that were passed to the ORB init call (used for interceptor initialization)") String[] getOrbInitArgs() -
disableORBD
@ManagedAttribute @Description("True if ORBD should not be used in this ORB instance") boolean disableORBD() -
waitNanos
- Throws:
InterruptedException
-