|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Deprecated Interfaces | |
|---|---|
org.xml.sax.AttributeList
This interface has been replaced by the SAX2 Attributes
interface, which includes Namespace support. |
|
java.security.Certificate
A new certificate handling package is created in the Java 2 platform. This Certificate interface is entirely deprecated and is here to allow for a smooth transition to the new package. |
|
org.xml.sax.DocumentHandler
This interface has been replaced by the SAX2 ContentHandler
interface, which includes Namespace support. |
|
org.omg.CORBA.DynAny
Use the new DynAny instead |
|
org.omg.CORBA.DynArray
Use the new DynArray instead |
|
org.omg.CORBA.DynEnum
Use the new DynEnum instead |
|
org.omg.CORBA.DynFixed
Use the new DynFixed instead |
|
org.omg.CORBA.DynSequence
Use the new DynSequence instead |
|
org.omg.CORBA.DynStruct
Use the new DynStruct instead |
|
org.omg.CORBA.DynUnion
Use the new DynUnion instead |
|
org.omg.CORBA.DynValue
Use the new DynValue instead |
|
java.rmi.server.LoaderHandler
no replacement |
|
org.xml.sax.Parser
This interface has been replaced by the SAX2 XMLReader
interface, which includes Namespace support. |
|
java.rmi.registry.RegistryHandler
no replacement |
|
java.rmi.server.RemoteCall
no replacement. |
|
java.rmi.server.Skeleton
no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. |
|
| Deprecated Classes | |
|---|---|
javax.accessibility.AccessibleResourceBundle
This class is deprecated as of version 1.3 of the Java 2 Platform. |
|
org.xml.sax.helpers.AttributeListImpl
This class implements a deprecated interface, AttributeList ;
that interface has been replaced by
Attributes ,
which is implemented in the
AttributesImpl helper class. |
|
javax.management.DefaultLoaderRepository
Use MBeanServer.getClassLoaderRepository()
instead. |
|
javax.management.loading.DefaultLoaderRepository
Use MBeanServer.getClassLoaderRepository() }
instead. |
|
javax.swing.text.DefaultTextUI
|
|
org.omg.CORBA.DynamicImplementation
org.omg.CORBA.DynamicImplementation |
|
org.xml.sax.HandlerBase
This class works with the deprecated DocumentHandler
interface. It has been replaced by the SAX2
DefaultHandler
class. |
|
java.security.Identity
This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the
java.security.cert package, and
java.security.Principal. |
|
java.security.IdentityScope
This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the
java.security.cert package, and
java.security.Principal. |
|
java.io.LineNumberInputStream
This class incorrectly assumes that bytes adequately represent characters. As of JDK 1.1, the preferred way to operate on character streams is via the new character-stream classes, which include a class for counting line numbers. |
|
java.rmi.server.LogStream
no replacement |
|
javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup
As of Java 2 platform v1.4. |
|
java.rmi.server.Operation
no replacement |
|
org.xml.sax.helpers.ParserFactory
This class works with the deprecated Parser
interface. |
|
javax.security.auth.Policy
as of JDK version 1.4 -- Replaced by java.security.Policy. java.security.Policy has a method:
public PermissionCollection getPermissions
(java.security.ProtectionDomain pd)
and ProtectionDomain has a constructor:
public ProtectionDomain
(CodeSource cs,
PermissionCollection permissions,
ClassLoader loader,
Principal[] principals)
These two APIs provide callers the means to query the
Policy for Principal-based Permission entries. |
|
org.omg.CORBA.Principal
Deprecated by CORBA 2.2. |
|
org.omg.CORBA.PrincipalHolder
Deprecated by CORBA 2.2. |
|
java.security.Signer
This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the
java.security.cert package, and
java.security.Principal. |
|
java.io.StringBufferInputStream
This class does not properly convert characters into bytes. As of JDK 1.1, the preferred way to create a stream from a string is via the StringReader class. |
|
javax.swing.text.TableView.TableCell
A table cell can now be any View implementation. |
|
javax.management.timer.TimerAlarmClockNotification
This class is of no use to user code. It is retained purely for compatibility reasons. |
|
| Deprecated Exceptions | |
|---|---|
java.rmi.RMISecurityException
Use SecurityException instead.
Application code should never directly reference this class, and
RMISecurityManager no longer throws this subclass of
java.lang.SecurityException. |
|
java.rmi.ServerRuntimeException
no replacement |
|
java.rmi.server.SkeletonMismatchException
no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. |
|
java.rmi.server.SkeletonNotFoundException
no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. |
|
| Deprecated Methods | |
|---|---|
java.awt.Component.action(Event, Object)
As of JDK version 1.1, should register this component as ActionListener on component which fires action events. |
|
java.awt.List.addItem(String)
replaced by add(String). |
|
java.awt.List.addItem(String, int)
replaced by add(String, int). |
|
java.awt.BorderLayout.addLayoutComponent(String, Component)
replaced by addLayoutComponent(Component, Object). |
|
java.awt.CardLayout.addLayoutComponent(String, Component)
replaced by addLayoutComponent(Component, Object). |
|
java.awt.List.allowsMultipleSelections()
As of JDK version 1.1, replaced by isMultipleMode(). |
|
java.lang.ThreadGroup.allowThreadSuspension(boolean)
The definition of this call depends on ThreadGroup.suspend() ,
which is deprecated. Further, the behavior of this call
was never specified. |
|
java.awt.TextArea.appendText(String)
As of JDK version 1.1, replaced by append(String). |
|
java.awt.Window.applyResourceBundle(ResourceBundle)
As of J2SE 1.4, replaced by Component.applyComponentOrientation . |
|
java.awt.Window.applyResourceBundle(String)
As of J2SE 1.4, replaced by Component.applyComponentOrientation . |
|
java.awt.Component.bounds()
As of JDK version 1.1, replaced by getBounds(). |
|
java.lang.SecurityManager.checkMulticast(InetAddress, byte)
Use #checkPermission(java.security.Permission) instead |
|
java.lang.SecurityManager.classDepth(String)
This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
java.lang.SecurityManager.classLoaderDepth()
This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
java.awt.List.clear()
As of JDK version 1.1, replaced by removeAll(). |
|
java.awt.image.renderable.RenderContext.concetenateTransform(AffineTransform)
replaced by concatenateTransform(AffineTransform). |
|
java.awt.Container.countComponents()
As of JDK version 1.1, replaced by getComponentCount(). |
|
java.awt.Menu.countItems()
As of JDK version 1.1, replaced by getItemCount(). |
|
java.awt.List.countItems()
As of JDK version 1.1, replaced by getItemCount(). |
|
java.awt.Choice.countItems()
As of JDK version 1.1, replaced by getItemCount(). |
|
java.awt.MenuBar.countMenus()
As of JDK version 1.1, replaced by getMenuCount(). |
|
java.lang.Thread.countStackFrames()
The definition of this call depends on Thread.suspend() ,
which is deprecated. Further, the results of this call
were never well-defined. |
|
org.omg.CORBA.ORB.create_basic_dyn_any(TypeCode)
Use the new DynAnyFactory API instead |
|
org.omg.CORBA.ORB.create_dyn_any(Any)
Use the new DynAnyFactory API instead |
|
org.omg.CORBA.ORB.create_dyn_array(TypeCode)
Use the new DynAnyFactory API instead |
|
org.omg.CORBA.ORB.create_dyn_enum(TypeCode)
Use the new DynAnyFactory API instead |
|
org.omg.CORBA.ORB.create_dyn_sequence(TypeCode)
Use the new DynAnyFactory API instead |
|
org.omg.CORBA.ORB.create_dyn_struct(TypeCode) | |