|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.aglet.AgletInfo
AgletInfo class is a object which contains the information of the aglet.
| Field Summary | |
private AgletID |
aid
|
private short |
api_major_version
|
private short |
api_minor_version
|
private java.security.cert.Certificate |
authorityCert
|
private byte[] |
authorityCertEncoded
|
private long |
birthtime
|
private java.lang.String |
classname
|
private java.lang.String |
codebase
|
(package private) static LogCategory |
logCategory
|
private java.lang.String |
origin
|
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
AgletInfo(AgletID aid,
java.lang.String classname,
java.net.URL codebase,
java.lang.String origin,
long birthtime,
short api_major_version,
short api_minor_version,
java.security.cert.Certificate authorityCert)
Constructs a AgletInfo with the specified parameters. |
|
| Method Summary | |
java.lang.String |
getAddress()
|
java.lang.String |
getAgletClassName()
Gets the class name of the aglet. |
AgletID |
getAgletID()
Gets the aglet id |
short |
getAPIMajorVersion()
Gets the API major version to which the aglet is instantiated. |
short |
getAPIMinorVersion()
Gets the API minor version to which the aglet is instantiated. |
java.security.cert.Certificate |
getAuthorityCertificate()
|
java.lang.String |
getAuthorityName()
|
java.net.URL |
getCodeBase()
Gets the codebase address where the aglet code resides. |
long |
getCreationTime()
Gets the time when the aglet is created. |
java.lang.String |
getOrigin()
Gets the origin address where the aglet was instantiated. |
private void |
readObject(java.io.ObjectInputStream s)
public AgletInfo clone(String a, URL c) { try { AgletInfo clone = (AgletInfo)clone(); // clone.address = a; // clone.codebase = c.toExternalForm(); return clone; } catch (CloneNotSupportedException ex) { return null; } } |
java.lang.String |
toString()
Gets a string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
static LogCategory logCategory
private AgletID aid
private java.lang.String classname
private java.lang.String origin
private long birthtime
private short api_major_version
private short api_minor_version
private java.lang.String codebase
private transient java.security.cert.Certificate authorityCert
private byte[] authorityCertEncoded
| Constructor Detail |
public AgletInfo(AgletID aid,
java.lang.String classname,
java.net.URL codebase,
java.lang.String origin,
long birthtime,
short api_major_version,
short api_minor_version,
java.security.cert.Certificate authorityCert)
aid - the aglet identifier.classname - the classname of the aglet.codebase - the codebase of the aglet classes.origin - the address where the aglet was instantiated.birthtime - the time when the aglet was instantiated.api_major_version - major version.api_minor_version - minor version.authorityCert - the authority's certificate of the aglet.| Method Detail |
public java.lang.String getAddress()
public java.lang.String getAgletClassName()
public AgletID getAgletID()
public short getAPIMajorVersion()
public short getAPIMinorVersion()
public java.security.cert.Certificate getAuthorityCertificate()
public java.lang.String getAuthorityName()
public java.net.URL getCodeBase()
public long getCreationTime()
public java.lang.String getOrigin()
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundExceptionpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||