com.sun.jini.reggie
Class EntryClassBase

java.lang.Object
  extended by com.sun.jini.reggie.EntryClassBase
All Implemented Interfaces:
Serializable

 class EntryClassBase
extends Object
implements Serializable

An EntryClass annotated with a codebase.

Author:
Sun Microsystems, Inc.

Field Summary
 String codebase
          The codebase.
 EntryClass eclass
          The EntryClass.
private static long serialVersionUID
           
 
Constructor Summary
EntryClassBase(EntryClass eclass, String codebase)
          Simple constructor
 
Method Summary
 void setCodebase(Class cls)
          Sets the codebase to the codebase of the given class.
static Class[] toClass(EntryClassBase[] eclasses)
          Converts an array of EntryClassBase to an array of Class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

eclass

public final EntryClass eclass
The EntryClass.


codebase

public String codebase
The codebase.

Constructor Detail

EntryClassBase

public EntryClassBase(EntryClass eclass,
                      String codebase)
Simple constructor

Method Detail

setCodebase

public void setCodebase(Class cls)
Sets the codebase to the codebase of the given class.


toClass

public static Class[] toClass(EntryClassBase[] eclasses)
Converts an array of EntryClassBase to an array of Class. If a class cannot be loaded, it is left as null.



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.