public class RepositoryID extends Object
Constructor and Description |
---|
RepositoryID() |
Modifier and Type | Method and Description |
---|---|
static String |
className(String repId,
ClassLoader loader)
Returns the fully qualified name of the Java class to which
the given Repository ID is mapped.
|
static String |
className(String repId,
String suffix,
ClassLoader loader)
Returns the fully qualified name of the Java class to which
the given Repository ID is mapped, with a given suffix appended
to the class name.
|
static BoxedValueHelper |
createBoxedValueHelper(String repId,
ClassLoader loader)
Creates a BoxedValueHelper instance for a given repository ID.
|
static String |
repId(Class c) |
static String |
toRepositoryID(String className,
boolean resolveClass,
ClassLoader loader)
Converts a class name to a Repository ID.
|
static String |
toRepositoryID(String className,
ClassLoader loader) |
public static String className(String repId, ClassLoader loader)
public static String className(String repId, String suffix, ClassLoader loader)
public static String toRepositoryID(String className, boolean resolveClass, ClassLoader loader)
className
- the class name to convertresolveClass
- indicates whether the method should try to
resolve and load the class. If true and the class could
not be loaded, an IllegalArgumentException will be thrownpublic static String toRepositoryID(String className, ClassLoader loader)
public static BoxedValueHelper createBoxedValueHelper(String repId, ClassLoader loader)
repId
- the repository ID of the boxed value typeRuntimeException
- if creation of the Helper instance failsCopyright © 2017 JacORB. All rights reserved.