Class JoramAdapter

  • All Implemented Interfaces:
    jakarta.jms.ExceptionListener, jakarta.resource.spi.ResourceAdapter, Serializable, JoramAdapterMBean

    public final class JoramAdapter
    extends JoramResourceAdapter
    implements JoramAdapterMBean, jakarta.jms.ExceptionListener
    A JoramAdapter instance manages connectivities to an underlying JORAM server: outbound connectivity (JCA connection management contract) and inbound connectivity (asynchronous message delivery as specified by the JCA message inflow contract).
    See Also:
    Serialized Form
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Define serialVersionUID for interoperability.
        See Also:
        Constant Field Values
      • logger

        private static final Logger logger
      • DEBUG

        private static final boolean DEBUG
      • isActive

        private boolean isActive
        true if admin connection connection is active.
      • adminDurationState

        private long adminDurationState
        The duration of admin connection before change state.
      • registration

        private org.osgi.framework.ServiceRegistration<?> registration
      • cnx

        private jakarta.jms.Connection cnx
      • collocated

        private boolean collocated
        true if the underlying JORAM server is collocated.
      • startJoramServer

        private boolean startJoramServer
        true start the JoramServer
      • hostName

        private String hostName
        Host name or IP of the underlying JORAM server. localhost if collocated.
      • serverPort

        private int serverPort
        Port number of the underlying JORAM server. -1 if collocated
      • rootName

        private String rootName
        login name for administrator.
      • rootPasswd

        private String rootPasswd
        password for administrator
      • identityClass

        private String identityClass
        Identity class needed for authentication
      • serverId

        private short serverId
        Identifier of the JORAM server to start.
      • storage

        private String storage
        the persistence directory of the JORAM server to start, needed when StartJoramServer is set to true.
      • platformConfigDir

        private String platformConfigDir
        Path to the directory containing JORAM's configuration files (a3servers.xml, a3debug.cfg and admin file), needed when StartJoramServer is set to true.
      • adminFileXML

        private String adminFileXML
        Path to the XML file (joramAdmin.xml) containing a description of the administered objects to create and bind.
      • adminFileExportXML

        private String adminFileExportXML
        Path to the XML file containing a description of the exported administered objects (destination) from the platform.
      • connectingTimer

        private int connectingTimer
        Duration in seconds during which connecting is attempted (connecting might take time if the server is temporarily not reachable); the 0 value is set for connecting only once and aborting if connecting failed.
    • Constructor Detail

      • JoramAdapter

        public JoramAdapter()
        Constructs a JoramAdapter instance.
      • JoramAdapter

        public JoramAdapter​(MBeanServer jmxServer)
        Constructs a JoramAdapter instance.