add some redirection to the deprecated method

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-03-26 22:49:46 +00:00
parent d2e9236f30
commit 24dced675c
1 changed files with 3 additions and 1 deletions

View File

@ -187,8 +187,10 @@ public class SslTransportFactory extends TcpTransportFactory {
*
* @param km
* @param tm
* @param object
* @param random
* @deprecated "Do not use anymore... using static initializers like this method only allows the JVM to use 1 SSL configuration per broker."
* @see org.apache.activemq.broker.SslContext#setCurrentSslContext(SslContext)
* @see org.apache.activemq.broker.SslContext#getSSLContext()
*/
public void setKeyAndTrustManagers(KeyManager[] km, TrustManager[] tm, SecureRandom random) {
SslContext ctx = new SslContext(km, tm, random);