|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProviderDescriptor
API interface for the descriptors used to handle lazy loaded IProvider
instances
in an IProviderRegistry
implementation.
Given an IProviderDescriptor
an instance of the corresponding provider can be
obtained by calling IProviderRegistry.lookupProvider(IProviderDescriptor)
.
IProviderRegistry
,
IProvider
Method Summary | |
---|---|
java.lang.String |
getName()
A human readable name for this provider. |
byte |
getPriority()
The priority of this provider. |
java.lang.String |
getProviderClass()
The implementing class for this provider. |
java.lang.String |
getTypeClass()
The API interface which this provider implements. |
boolean |
isSingleton()
Whether this provider is a singleton or whether a new instance is created for each lookup. |
void |
setName(java.lang.String name)
Sets a human readable name for this provider. |
void |
setPriority(byte priority)
Sets the priority of this provider. |
void |
setProviderClass(java.lang.String providerClass)
Sets the implementing class for this provider. |
void |
setSingleton(boolean singleton)
Specifies whether this provider is a singleton or whether a new instance is created for each lookup. |
void |
setTypeClass(java.lang.String typeClass)
Sets the API interface which this provider implements. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
getName()
byte getPriority()
void setPriority(byte priority)
getPriority()
java.lang.String getTypeClass()
IProvider
sub-interface.
IProvider
API interface which is implemented by this provider, never null.void setTypeClass(java.lang.String typeClass)
getTypeClass()
java.lang.String getProviderClass()
getTypeClass()
interface.
CAUTION: do not use this value to try to obtain an instance of this provider yourself.
All instances need to be retrieved via the corresponding IProviderRegistry
methods.
void setProviderClass(java.lang.String providerClass)
getProviderClass()
boolean isSingleton()
Most providers are singletons for performance reasons.
void setSingleton(boolean singleton)
isSingleton()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |