java.lang.Object | |
↳ | com.sun.media.sound.JDK13Services |
JDK13Services uses the Service class in JDK 1.3 to discover a list of service providers installed in the system. This class is public because it is called from javax.sound.midi.MidiSystem and javax.sound.sampled.AudioSystem. The alternative would be to make JSSecurityManager public, which is considered worse.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain the instance name part of a default provider property.
| |||||||||||
Obtain the provider class name part of a default provider property.
| |||||||||||
Obtains a List containing installed instances of the
providers for the requested service.
| |||||||||||
Set the period provider lists are cached.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Obtain the instance name part of a default provider property.
typeClass | The type of the default provider property. This should be one of Receiver.class, Transmitter.class, Sequencer.class, Synthesizer.class, SourceDataLine.class, TargetDataLine.class, Clip.class or Port.class. |
---|
Obtain the provider class name part of a default provider property.
typeClass | The type of the default provider property. This should be one of Receiver.class, Transmitter.class, Sequencer.class, Synthesizer.class, SourceDataLine.class, TargetDataLine.class, Clip.class or Port.class. |
---|
Obtains a List containing installed instances of the providers for the requested service. The List of providers is cached for the period of time given by #cachingPeriod cachingPeriod. During this period, the same List instance is returned for the same type of provider. After this period, a new instance is constructed and returned. The returned List is immutable.
serviceClass | The type of providers requested. This should be one of AudioFileReader.class, AudioFileWriter.class, FormatConversionProvider.class, MixerProvider.class, MidiDeviceProvider.class, MidiFileReader.class, MidiFileWriter.class or SoundbankReader.class. |
---|
Set the period provider lists are cached. This method is only intended for testing.