equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
180 * Get the default TerminalFactory type. |
180 * Get the default TerminalFactory type. |
181 * |
181 * |
182 * <p>It is determined as follows: |
182 * <p>It is determined as follows: |
183 * |
183 * |
184 * when this class is initialized, the system property |
184 * when this class is initialized, the system property |
185 * <code>javax.smartcardio.TerminalFactory.DefaultType</code> |
185 * {@systemProperty javax.smartcardio.TerminalFactory.DefaultType} |
186 * is examined. If it is set, a TerminalFactory of this type is |
186 * is examined. If it is set, a TerminalFactory of this type is |
187 * instantiated by calling the {@linkplain #getInstance |
187 * instantiated by calling the {@linkplain #getInstance |
188 * getInstance(String,Object)} method passing |
188 * getInstance(String,Object)} method passing |
189 * <code>null</code> as the value for <code>params</code>. If the call |
189 * <code>null</code> as the value for <code>params</code>. If the call |
190 * succeeds, the type becomes the default type and the factory becomes |
190 * succeeds, the type becomes the default type and the factory becomes |