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
-
-
-
Method Detail
-
getORBInitialHost
@ManagedAttribute @Description("Value of ORBInitialHost, the host name of the remote name service") java.lang.String getORBInitialHost()
-
getORBInitialPort
@ManagedAttribute @Description("Value of ORBInitialPort, the port number of the remote name service") int getORBInitialPort()
-
getORBServerHost
@ManagedAttribute @Description("DESC") java.lang.String 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
void setIORToSocketInfo(IORToSocketInfo x)
-
getIIOPPrimaryToContactInfo
@ManagedAttribute @Description("Return the instance of the IIOPPrimaryToContactInfo interface") IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo()
-
setIIOPPrimaryToContactInfo
void setIIOPPrimaryToContactInfo(IIOPPrimaryToContactInfo x)
-
getORBId
@ManagedAttribute @Description("Return the configured ORB ID") java.lang.String 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
int getGIOPBuffMgrStrategy(GIOPVersion gv)
-
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
@ManagedAttribute @Description("DESC") java.lang.Class getBadServerIdHandler()
-
getCodeSetComponentInfo
@ManagedAttribute @Description("DESC") CodeSetComponentInfo 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
@ManagedAttribute @Description("DESC") ORBInitializer[] getORBInitializers()
-
addORBInitializer
void addORBInitializer(ORBInitializer init)
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
@ManagedAttribute @Description("Pair of (name, CORBA URL) used to initialize resolve_initial_references") org.glassfish.pfl.basic.contain.Pair<java.lang.String,java.lang.String>[] getORBInitialReferences()
-
getORBDefaultInitialReference
java.lang.String getORBDefaultInitialReference()
-
getORBDebugFlags
@ManagedAttribute @Description("DESC") java.lang.String[] getORBDebugFlags()
-
getAcceptors
@ManagedAttribute @Description("DESC") Acceptor[] getAcceptors()
-
getCorbaContactInfoListFactory
@ManagedAttribute @Description("DESC") ContactInfoListFactory getCorbaContactInfoListFactory()
-
acceptorSocketType
@ManagedAttribute @Description("DESC") java.lang.String acceptorSocketType()
-
acceptorSocketUseSelectThreadToWait
@ManagedAttribute @Description("DESC") boolean acceptorSocketUseSelectThreadToWait()
-
acceptorSocketUseWorkerThreadForEvent
@ManagedAttribute @Description("DESC") boolean acceptorSocketUseWorkerThreadForEvent()
-
connectionSocketType
@ManagedAttribute @Description("DESC") java.lang.String 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
@ManagedAttribute @Description("DESC") TcpTimeouts getTransportTcpTimeouts()
-
getTransportTcpConnectTimeouts
@ManagedAttribute @Description("DESC") TcpTimeouts 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
void setOrbInitArgs(java.lang.String[] args)
-
getOrbInitArgs
@ManagedAttribute @Description("The String[] args that were passed to the ORB init call (used for interceptor initialization)") java.lang.String[] getOrbInitArgs()
-
disableORBD
@ManagedAttribute @Description("True if ORBD should not be used in this ORB instance") boolean disableORBD()
-
waitNanos
default void waitNanos(java.lang.Object obj, long waitNanos) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-