|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tritonus.core.TInit
public class TInit
Helper methods for provider registration.
Nested Class Summary | |
---|---|
static interface |
TInit.ProviderRegistrationAction
Action to be taken on registration of a provider. |
Method Summary | |
---|---|
static void |
registerClasses(java.lang.Class providerClass,
TInit.ProviderRegistrationAction action)
Register all service providers of a certain type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void registerClasses(java.lang.Class providerClass, TInit.ProviderRegistrationAction action)
providerClass
- Type of the service providers that should
be registered. For instance, this could be the class object for
javax.sound.sampled.spi.MixerProvider. However, the mechanism
is not restricted to the Java Sound types of service providers.action
- A ProviderRegistrationAction that should to be
called to register the service providers. Typically, this is
something like adding the provider to a collection, but in
theorie, could be anything.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |