# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Enums
- Deprecated Fields
- Deprecated Methods

- Deprecated Interfaces
  Interface and Description
  tigase.server.xmppserver.ConnectionHandlerIfc was replaced by `S2SConnectionManager`, will be removed in 7.2.0

- Deprecated Classes
  Class and Description
  tigase.util.DNSResolver `tigase.util.DNSResolverFactory.getInstance()` should be used instead
  tigase.xmpp.impl.IBB This class has been deprecated and replaced with `tigase.server.xmppsession.PacketFilter` code. The class is left for educational purpose only and should not be used. It may be removed in future releases.
  tigase.xmpp.impl.JabberIqOOB This class has been deprecated and replaced with `tigase.server.xmppsession.PacketFilter` code. The class is left for educational purpose only and should not be used. It may be removed in future releases.
  tigase.xmpp.impl.JabberIqSi This class has been deprecated and replaced with `tigase.server.xmppsession.PacketFilter` code. The class is left for educational purpose only and should not be used. It may be removed in future releases.
  tigase.xmpp.impl.JabberIqSocks5Bytestreams This class has been deprecated and replaced with `tigase.server.xmppsession.PacketFilter` code. The class is left for educational purpose only and should not be used. It may be removed in future releases.
  tigase.stats.JavaJMXProxy `JavaJMXProxyOpt` - optimised JMXProxy class should be used. This class will be removed in the next version after 7.1.0
  tigase.util.JDBCAbstract
  tigase.util.JIDUtils replaced by tigase.xmpp.JID
  tigase.cluster.MonitorClustered Use `MonitorComponent` instead.
  tigase.server.monitor.MonitorComponent Use `MonitorComponent` instead.
  tigase.xmpp.impl.roster.Roster RosterFlat should be used instead
  tigase.xmpp.impl.RosterPresence
  tigase.server.xmppserver.ServerConnectionManager was replaced by `S2SConnectionManager`, will be removed in 7.2.0
  tigase.server.xmppserver.ServerConnections was replaced by `S2SConnectionManager`, will be removed in 7.2.0

- Deprecated Enums
  Enum and Description
  tigase.xmpp.ConnectionStatus

- Deprecated Fields
  Field and Description
  tigase.conf.Configurable.AUTH_DOMAIN_POOL_CLASS moved to RepositoryFactory
  tigase.conf.ConfiguratorAbstract.AUTH_DOMAIN_POOL_CLASS_PROP_KEY moved to RepositoryFactory
  tigase.conf.ConfiguratorAbstract.AUTH_DOMAIN_POOL_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.db.RepositoryFactory.AUTH_REPO_CLASS_PROP_VAL
  tigase.conf.Configurable.AUTH_REPO_DOMAINS_PROP_KEY moved to RepositoryFactory
  tigase.conf.Configurable.AUTH_REPO_PARAMS_NODE moved to RepositoryFactory
  tigase.conf.Configurable.AUTH_REPO_POOL_CLASS moved to RepositoryFactory
  tigase.conf.Configurable.AUTH_REPO_URL_PROP_KEY moved to RepositoryFactory
  tigase.db.RepositoryFactory.DATA_REPO_CLASS_PROP_VAL
  tigase.conf.Configurable.DERBY_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.DERBY_REPO_URL_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.DRUPAL_REPO_URL_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.DRUPALWP_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.DUMMY_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.server.Command.FIELD_EL
  tigase.server.Command.FIELD_VALUE_PATH
  tigase.conf.Configurable.GEN_AUTH_DB moved to RepositoryFactory
  tigase.conf.Configurable.GEN_AUTH_DB_URI moved to RepositoryFactory
  tigase.conf.Configurable.GEN_USER_DB moved to RepositoryFactory
  tigase.conf.Configurable.GEN_USER_DB_URI moved to RepositoryFactory
  tigase.conf.Configurable.GEN_USER_DB_URI_PROP_KEY moved to RepositoryFactory
  tigase.conf.Configurable.LIBRESOURCE_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.LIBRESOURCE_REPO_URL_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.MYSQL_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.MYSQL_REPO_URL_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.PGSQL_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.PGSQL_REPO_URL_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.SHARED_AUTH_REPO_PARAMS_PROP_KEY moved to RepositoryFactory
  tigase.conf.Configurable.SHARED_AUTH_REPO_PROP_KEY
  tigase.conf.Configurable.SHARED_USER_REPO_PARAMS_PROP_KEY moved to RepositoryFactory
  tigase.conf.Configurable.SHARED_USER_REPO_PROP_KEY moved to RepositoryFactory
  tigase.conf.Configurable.TIGASE_AUTH_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.TIGASE_AUTH_REPO_URL_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.TIGASE_CUSTOM_AUTH_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.USER_DOMAIN_POOL_CLASS moved to RepositoryFactory
  tigase.conf.ConfiguratorAbstract.USER_DOMAIN_POOL_CLASS_PROP_KEY moved to RepositoryFactory
  tigase.conf.ConfiguratorAbstract.USER_DOMAIN_POOL_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.db.RepositoryFactory.USER_REPO_CLASS_PROP_VAL
  tigase.conf.Configurable.USER_REPO_DOMAINS_PROP_KEY moved to RepositoryFactory
  tigase.conf.Configurable.USER_REPO_PARAMS_NODE moved to RepositoryFactory
  tigase.conf.Configurable.USER_REPO_POOL_CLASS moved to RepositoryFactory
  tigase.conf.Configurable.USER_REPO_POOL_SIZE moved to RepositoryFactory
  tigase.conf.Configurable.USER_REPO_POOL_SIZE_PROP_KEY moved to RepositoryFactory
  tigase.conf.Configurable.USER_REPO_URL_PROP_KEY moved to RepositoryFactory
  tigase.server.Command.VALUE_EL
  tigase.conf.Configurable.XML_REPO_CLASS_PROP_VAL moved to RepositoryFactory
  tigase.conf.Configurable.XML_REPO_URL_PROP_VAL moved to RepositoryFactory

- Deprecated Methods
  Method and Description
  tigase.server.AbstractMessageReceiver.addTimerTask(TimerTask, long)
  tigase.server.AbstractMessageReceiver.addTimerTask(TimerTask, long, TimeUnit)
  tigase.server.xmppserver.S2SConnectionManager.addTimerTask(TimerTask, long, TimeUnit)
  tigase.xmpp.XMPPProcessor.concurrentThreadsPerQueue()
  tigase.xmpp.XMPPImplIfc.concurrentThreadsPerQueue()
  tigase.db.AuthRepositoryPool.digestAuth(BareJID, String, String, String)
  tigase.db.DummyRepository.digestAuth(BareJID, String, String, String)
  tigase.db.AuthRepository.digestAuth(BareJID, String, String, String)
  tigase.db.AuthRepositoryImpl.digestAuth(BareJID, String, String, String)
  tigase.db.AuthRepositoryMDImpl.digestAuth(BareJID, String, String, String)
  tigase.db.ldap.LdapAuthProvider.digestAuth(BareJID, String, String, String)
  tigase.db.xml.XMLRepository.digestAuth(BareJID, String, String, String)
  tigase.db.jdbc.TigaseCustomAuth.digestAuth(BareJID, String, String, String)
  tigase.db.jdbc.JDBCRepository.digestAuth(BareJID, String, String, String)
  tigase.db.jdbc.TigaseAuth.digestAuth(BareJID, String, String, String)
  tigase.db.jdbc.DrupalWPAuth.digestAuth(BareJID, String, String, String)
  tigase.xml.Element.findChild(String) use `Element.findChild(java.lang.String[])` instead.
  tigase.server.Packet.getAttribute(String) Consider using `Packet.getAttributeStaticStr(java.lang.String)` instead.
  tigase.xml.Element.getAttribute(String) use `Element.getAttributeStaticStr(java.lang.String)` instead.
  tigase.server.Packet.getAttribute(String[], String) use `Packet.getAttributeStaticStr(java.lang.String[], java.lang.String)` instead, if possible, if not, contact us so we preserve the API.
  tigase.xml.Element.getAttribute(String[], String) `Element.getAttributeStaticStr(java.lang.String[], java.lang.String)` instead.
  tigase.server.Packet.getAttribute(String, String) use `Packet.getAttributeStaticStr(java.lang.String[], java.lang.String)` instead, if possible, or `Packet.getAttribute(java.lang.String[], java.lang.String)`
  tigase.xml.Element.getAttribute(String, String) use `Element.getAttributeStaticStr(java.lang.String[], java.lang.String)` instead.
  tigase.xml.Element.getCData(String) use `Element.getCData(java.lang.String[])` instead.
  tigase.xml.Element.getChildAttribute(String, String) use `Element.getChildAttributeStaticStr(java.lang.String, java.lang.String)` instead.
  tigase.xml.Element.getChildCData(String) use `Element.getCData(java.lang.String[])` instead.
  tigase.xml.Element.getChildren(String) use `Element.getChildren(java.lang.String[])` instead.
  tigase.server.XMPPServer.getConfigurator()
  tigase.server.BasicComponent.getDiscoFeatures()
  tigase.server.BasicComponent.getDiscoInfo(String, JID)
  tigase.server.BasicComponent.getDiscoItems(String, JID)
  tigase.server.Packet.getElemCData(String) use `Packet.getElemCDataStaticStr(java.lang.String[])` instead, if possible, or `Packet.getElemCData(java.lang.String[])`
  tigase.server.Packet.getElemCData(String[]) use `Packet.getElemCDataStaticStr(java.lang.String[])` instead, if possible, if not, contact us so we preserve the API.
  tigase.server.Packet.getElemChildren(String) use `Packet.getElemChildrenStaticStr(java.lang.String[])` instead, if possible, or `Packet.getElemChildren(java.lang.String[])`.
  tigase.server.Packet.getElemChildren(String[]) use `Packet.getElemChildrenStaticStr(java.lang.String[])` instead, if possible, if not, contact us so we preserve the API.
  tigase.server.Packet.getElemFrom() use getStanzaFrom() instead.
  tigase.server.Packet.getElemTo() use getStanzaTo() instead
  tigase.cluster.strategy.DefaultClusteringStrategyAbstract.getInternalCacheData()
  tigase.cluster.strategy.SMNonCachingAllNodes.getInternalCacheData()
  tigase.cluster.strategy.ClusteringStrategyIfc.getInternalCacheData()
  tigase.xmpp.XMPPResourceConnection.getUserId()
  tigase.xml.Element.getXMLNS(String) use `Element.getXMLNS(java.lang.String[])` instead.
  tigase.xmpp.XMPPProcessor.isSupporting(String, String)
  tigase.xmpp.XMPPImplIfc.isSupporting(String, String)
  tigase.server.Packet.isXMLNS(String[], String) use `Packet.isXMLNSStaticStr(String[], String)` instead, if possible, if not contact us so we preserve the API.
  tigase.server.Packet.isXMLNS(String, String) use `Packet.isXMLNSStaticStr(String[], String)` instead, if possible, or `Packet.isXMLNS(String[], String)`
  tigase.xmpp.RepositoryAccess.loginDigest(BareJID, String, String, String)
  tigase.xmpp.XMPPResourceConnection.loginDigest(String, String, String, String)
  tigase.xmpp.RepositoryAccess.loginOther(Map<String, Object>)
  tigase.xmpp.XMPPResourceConnection.loginOther(Map<String, Object>)
  tigase.xmpp.RepositoryAccess.loginPlain(BareJID, String)
  tigase.xmpp.XMPPResourceConnection.loginPlain(String, String)
  tigase.xmpp.RepositoryAccess.loginToken(BareJID, String, String)
  tigase.db.AuthRepositoryPool.plainAuth(BareJID, String)
  tigase.db.DummyRepository.plainAuth(BareJID, String)
  tigase.db.AuthRepository.plainAuth(BareJID, String) use method AuthRepository.otherAuth(Map) because this method is preferred. In a long term plans all authentication methods should use otherAuth(...) calls.
  tigase.db.AuthRepositoryImpl.plainAuth(BareJID, String)
  tigase.db.AuthRepositoryMDImpl.plainAuth(BareJID, String)
  tigase.db.ldap.LdapAuthProvider.plainAuth(BareJID, String)
  tigase.db.xml.XMLRepository.plainAuth(BareJID, String)
  tigase.db.jdbc.TigaseCustomAuth.plainAuth(BareJID, String)
  tigase.db.jdbc.JDBCRepository.plainAuth(BareJID, String)
  tigase.db.jdbc.TigaseAuth.plainAuth(BareJID, String)
  tigase.db.jdbc.DrupalWPAuth.plainAuth(BareJID, String)
  tigase.server.AbstractMessageReceiver.processingThreads()
  tigase.xmpp.RepositoryAccess.register(String, String, String)
  tigase.xmpp.XMPPProcessor.supElements()
  tigase.xmpp.XMPPImplIfc.supElements()
  tigase.server.Packet.swapElemFromTo() Use `swapStanzaFromTo()` instead.
  tigase.server.Packet.swapElemFromTo(StanzaType) Use `swapStanzaFromTo()` instead.

Copyright © 2022 "Tigase, Inc.". All rights reserved.