|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.ResourceManager
A class that provides a catalog of available ResourceAdapter objects.
See comments in PolicyManager
.
Field Summary | |
protected static Trace |
_trace
|
static java.lang.String |
code_id
|
Constructor Summary | |
ResourceManager()
|
Method Summary | |
static Resource |
getResourceByClassName(ObjectCache cache,
java.lang.String className)
Map from adapter classname back to resource. |
static Resource |
getResourceByType(ObjectCache cache,
java.lang.String typeString)
Map from type string back to resource. |
static Resource |
getResourceByType(ObjectCache cache,
java.lang.String typeString,
boolean includeUnmanagedTypes)
Map from type string back to resource. |
static java.util.Map |
getResourceIconMap(ObjectCache cache)
|
static ResourceManager |
getResourceManager()
|
static java.lang.String[] |
getResourcePrototypeNames(ObjectCache cache)
|
static Resource[] |
getResourcePrototypes(ObjectCache cache)
Returns a list of the available resource initial instances. |
static Resource[] |
getResourcePrototypes(ObjectCache cache,
boolean includeUnmanagedTypes)
Returns a list of the available resource initial instances. |
static java.util.List |
getResourceTypeNamesInUse(Session s)
|
static Resource[] |
getResourceTypes()
Deprecated. as of 3.1, call #getResourcePrototypes() |
static java.lang.String[] |
getResourceTypeStrings()
Deprecated. - call #getResourcePrototypeNames |
static java.lang.String |
getTypeDisplayString(ObjectCache cache,
java.util.Locale locale,
java.lang.String type)
|
protected static java.lang.String |
getTypeDisplayString(ObjectCache cache,
java.util.Locale locale,
java.lang.String type,
boolean bind)
|
static java.lang.String |
getTypeDisplayString(ObjectCache cache,
java.lang.String type)
|
static java.util.Map |
getTypeNameMap(ObjectCache cache)
|
static Resource |
loadPrototypeResource(java.lang.String className,
boolean allowDeprecation,
WavesetResult result)
|
static Resource |
loadPrototypeResource(java.lang.String className,
WavesetResult result)
|
static void |
main(java.lang.String[] args)
|
void |
propertiesFileChanged()
|
static void |
resetList()
|
static java.lang.String |
resourcePathToDisplayString(ObjectCache cache,
java.lang.String className)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
protected static Trace _trace
Constructor Detail |
public ResourceManager()
Method Detail |
public static ResourceManager getResourceManager()
public void propertiesFileChanged()
propertiesFileChanged
in interface WavesetProperties.Listener
public static void resetList()
public static java.lang.String getTypeDisplayString(ObjectCache cache, java.lang.String type)
public static java.lang.String getTypeDisplayString(ObjectCache cache, java.util.Locale locale, java.lang.String type)
protected static java.lang.String getTypeDisplayString(ObjectCache cache, java.util.Locale locale, java.lang.String type, boolean bind)
public static java.util.Map getTypeNameMap(ObjectCache cache)
public static Resource[] getResourceTypes() throws WavesetException
PolicyManager
for details.
WavesetException
public static Resource[] getResourcePrototypes(ObjectCache cache) throws WavesetException
PolicyManager
for details.
WavesetException
public static Resource[] getResourcePrototypes(ObjectCache cache, boolean includeUnmanagedTypes) throws WavesetException
PolicyManager
for details.
includeUnmanagedTypes
- include unmanaged resource prototypes
WavesetException
public static java.lang.String resourcePathToDisplayString(ObjectCache cache, java.lang.String className) throws WavesetException
WavesetException
public static java.lang.String[] getResourceTypeStrings() throws WavesetException
WavesetException
public static java.lang.String[] getResourcePrototypeNames(ObjectCache cache)
public static java.util.Map getResourceIconMap(ObjectCache cache) throws WavesetException
WavesetException
public static java.util.List getResourceTypeNamesInUse(Session s)
public static Resource getResourceByType(ObjectCache cache, java.lang.String typeString) throws WavesetException
WavesetException
public static Resource getResourceByType(ObjectCache cache, java.lang.String typeString, boolean includeUnmanagedTypes) throws WavesetException
includeUnmanagedTypes
- also search through unmanaged resource prototypes for a match
WavesetException
public static Resource getResourceByClassName(ObjectCache cache, java.lang.String className) throws WavesetException
WavesetException
public static Resource loadPrototypeResource(java.lang.String className, WavesetResult result)
public static Resource loadPrototypeResource(java.lang.String className, boolean allowDeprecation, WavesetResult result)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |