org.jacorb.ir
public class RepositoryID extends Object
Method Summary | |
---|---|
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) |
Parameters: repId the repository ID of the boxed value type
Returns: a newly created BoxedValueHelper, or null if no BoxedValueHelper class can be found for that ID
Throws: RuntimeException if creation of the Helper instance fails
Parameters: className the class name to convert resolveClass 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 thrown