JXTA

Deprecated API


Contents
Deprecated Interfaces
net.jxta.impl.peergroup.PlatformConfigurator
          This interface has been replaced with the NetworkConfigurator. 
 

Deprecated Classes
net.jxta.impl.util.Base64
          Planned for removal. This implementation has been replaced by BASE64InputStream and BASE64OutputStream. 
net.jxta.impl.peergroup.Boot
          This code is in no-way dependent upon the implementation and should not have been located here. Developers are encouraged to copy this source to their own projects. Consider using alternative JXTA "main" See NetworkManager tutorial . 
net.jxta.impl.protocol.CertificateSigningRequest
          The types exported from this implementation are subject to change.

   <xs:element name="jxta:csr" type="CertificateSigningRequest"/>

   <xs:complexType name="csr">
     <xs:all>
     </xs:all>
   </xs:complexType>
 
 
net.jxta.impl.util.ConsumerBiasedQueue
          Please convert all code to use the java.util.concurrent BlockingQueue instead. 
net.jxta.impl.util.GenerateID
          This would be much better as a JXTA shell command. Will be removed soon. Generate a new JXTA IDs from the command line. 
net.jxta.impl.membership.PasswdMembershipService
          This service is intended only as a sample and should not be used for real membership applications. IT IS NOT SECURE. The implementation has also moved to PasswdMembershipService

This implementation is intended mostly as an example of a simple Membership Service service and not as a practical secure Membership Service. 

net.jxta.impl.util.ProducerBiasedQueue
          Please convert all code to use the java.util.concurrent BlockingQueue instead. 
net.jxta.impl.peergroup.StdPeerGroupParamAdv
          This internal class will eventually be removed. It has several problems which make it difficult to support. (The most obvious that it provides poor abstraction and provides references to its' own internal data structures). This class is expected to be replaced by a public API class performing a similar function though such an alternative is not yet available. You are encouraged to copy this code into your own application or service if if you depend upon it. 
net.jxta.impl.util.TimerThreadNamer
          Beginning with JSE 5.0 you may now name a Timer directly.

Note that this implementation assumes the Timer implemntation found in Sun JDK 1.2-1.5 (and possibly later) in that there is a single thread attached to each Timer object. 

net.jxta.impl.util.UnbiasedQueue
          Please convert all code to use the java.util.concurrent BlockingQueue instead. 
 

Deprecated Methods
net.jxta.impl.endpoint.transportMeter.TransportServiceMonitor.createTransportMeter(String, String)
          use #createTransportMeter(String, EndpointAddress) 
net.jxta.impl.rendezvous.PeerConnection.getCachedMessenger()
          Preferred style is to pass the connection object around and use the sendMessage method rather than getting the messenger. 
net.jxta.impl.protocol.PlatformConfig.getDebugLevel()
          The debug level is no longer set via this api. See Logging. 
net.jxta.impl.endpoint.EndpointServiceInterface.getMessenger(MessengerEventListener, EndpointAddress, Object)
          legacy support 
net.jxta.impl.endpoint.EndpointServiceImpl.getMessenger(MessengerEventListener, EndpointAddress, Object)
          legacy method. 
net.jxta.impl.rendezvous.RendezVousServiceInterface.getPeerView()
          This is private for debugging and diagnostics only. 
net.jxta.impl.membership.pse.PSECredential.getPrivateKey()
          Use <@link #getSigner(String)> or <@link #getSignatureVerifier(String)> instead. 
net.jxta.impl.protocol.HTTPAdv.getProxy()
          This has been deprecated. Set your proxy directly with the JVM 
net.jxta.impl.rendezvous.RendezVousServiceInterface.getRendezvousProvider()
          This is private for debugging and diagnostics only. 
net.jxta.impl.rendezvous.RendezVousServiceImpl.getRendezvousProvider()
          This is private for debugging and diagnostics only. 
net.jxta.impl.protocol.HTTPAdv.isProxyEnabled()
          This has been deprecated. Set your proxy directly with the JVM 
net.jxta.impl.peergroup.NullConfigurator.load(URI)
          Loading of existing configuration is best accomplished by use of specific constructors of the implementing configurator. This method complicates the state management of configuration parameters and may have unpredictable results depending upon the constructor and configuration set methods used prior to it's execution. 
net.jxta.impl.endpoint.EndpointServiceInterface.ping(EndpointAddress)
           
net.jxta.impl.endpoint.EndpointServiceImpl.ping(EndpointAddress)
          legacy method. 
net.jxta.impl.endpoint.cbjx.CbJxTransport.ping(EndpointAddress)
           
net.jxta.impl.endpoint.relay.RelayServer.ping(EndpointAddress)
           
net.jxta.impl.endpoint.router.EndpointRouter.ping(EndpointAddress)
           
net.jxta.impl.access.AccessList.refresh(File)
          use URI variant 
net.jxta.impl.protocol.PlatformConfig.setDebugLevel(String)
          The debug level is no longer set via this api. See Logging. 
net.jxta.impl.protocol.HTTPAdv.setProxy(String)
          This has been deprecated. Set your proxy directly with the JVM 
net.jxta.impl.protocol.HTTPAdv.setProxyEnabled(boolean)
          This has been deprecated. Set your proxy directly with the JVM 
net.jxta.impl.protocol.DiscoveryQuery.toString()
          should not be used. use getDocument().toString() instead. 
 

Deprecated Constructors
net.jxta.impl.util.JxtaHash(String, String)
          This implementation may produce inconsistent results based upon varience of the locale. (The locale of getBytes() is not defined). 
net.jxta.impl.protocol.PeerInfoResponseMsg(PeerID, PeerID, long, long)
          Please use the individual setters 
net.jxta.impl.protocol.ResolverQuery(String, StructuredDocument, String, String, int)
          use the individual accessor methods instead. 
net.jxta.impl.protocol.ResolverResponse(String, StructuredDocument, int, String)
          use the individual accessor methods instead. 
net.jxta.impl.protocol.RouteQuery(PeerID, RouteAdvertisement, Collection)
          Use default constructor and accessors. 
net.jxta.impl.protocol.SrdiMessageImpl(InputStream)
          It's better to generate the document yourself. This method cannot deduce the mime type of the content. 
 


JXSE