1. /*
  2. * @(#)SubcontractList.java 1.17 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. /*
  8. * Licensed Materials - Property of IBM
  9. * RMI-IIOP v1.0
  10. * Copyright IBM Corp. 1998 1999 All Rights Reserved
  11. *
  12. * US Government Users Restricted Rights - Use, duplication or
  13. * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  14. */
  15. package com.sun.corba.se.internal.orbutil;
  16. import com.sun.corba.se.internal.corba.ServerDelegate;
  17. public final class SubcontractList {
  18. /**
  19. * Following are the IDs (numbers) assigned to all our
  20. * subcontracts.
  21. */
  22. public static final int Generic = 2;
  23. public static final int defaultSubcontract = Generic;
  24. public static final SubcontractEntry[] subcontracts
  25. = new SubcontractEntry[] {
  26. new SubcontractEntry(Generic, ServerDelegate.class, null)
  27. };
  28. public static class SubcontractEntry {
  29. public int id;
  30. public Class serverSC;
  31. public Class clientSC;
  32. public SubcontractEntry(int id, Class serverSC, Class clientSC) {
  33. this.id = id;
  34. this.serverSC = serverSC;
  35. this.clientSC = clientSC;
  36. }
  37. }
  38. }