1. /*
  2. * @(#)RepositoryIdInterface.java 1.3 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.internal.orbutil;
  8. import org.omg.CORBA.ORB;
  9. import java.io.Serializable;
  10. import java.net.MalformedURLException;
  11. /**
  12. * Methods on specific instances of RepositoryId. Hides
  13. * versioning of our RepositoryId class.
  14. */
  15. public interface RepositoryIdInterface
  16. {
  17. Class getClassFromType() throws ClassNotFoundException;
  18. Class getClassFromType(String codebaseURL)
  19. throws ClassNotFoundException, MalformedURLException;
  20. Class getClassFromType(Class expectedType,
  21. String codebaseURL)
  22. throws ClassNotFoundException, MalformedURLException;
  23. String getClassName();
  24. }