All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.aglet.AgletInfo
java.lang.Object
|
+----com.ibm.aglet.AgletInfo
- public final class AgletInfo
- extends Object
- implements Serializable, Cloneable
AgletInfo class is a object which contains the information of the aglet.
-
AgletInfo(AgletID, String, String, URL, String, long, short, short, String, String)
- Constructs a AgletInfo with the specified parameters.
-
clone(String, URL)
-
Deprecated.
-
getAddress()
- Gets the address where the aglet currently resides.
-
getAgletClassName()
- Gets the class name of the aglet.
-
getAgletID()
- Gets the aglet id
-
getAPIMajorVersion()
- Gets the API major version to which the aglet is instantiated.
-
getAPIMinorVersion()
- Gets the API minor version to which the aglet is instantiated.
-
getAuthorityName()
- Gets the authority name.
-
getCodeBase()
- Gets the codebase address where the aglet code resides.
-
getCreationTime()
- Gets the time when the aglet is created.
-
getOrigin()
- Gets the origin address where the aglet was instantiated.
-
getPrivilegeName()
- Gets the privilege name.
Deprecated.
-
toString()
- Gets a string representation of the object.
AgletInfo
public AgletInfo(AgletID aid,
String address,
String classname,
URL codebase,
String origin,
long birthtime,
short api_major_version,
short api_minor_version,
String authorityName,
String privilegeName)
- Constructs a AgletInfo with the specified parameters.
This is used internally and the aglet programmers should not use
this API.
- Parameters:
- aid - the aglet identifier.
- address - the address where the aglet currently resides.
- 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.
- authorityName - the authority's name of the aglet.
- privilegeName - the name of the privilege in the current
environment.
getAgletID
public AgletID getAgletID()
- Gets the aglet id
getAgletClassName
public String getAgletClassName()
- Gets the class name of the aglet.
getOrigin
public String getOrigin()
- Gets the origin address where the aglet was instantiated.
getCodeBase
public URL getCodeBase()
- Gets the codebase address where the aglet code resides.
getAddress
public String getAddress()
- Gets the address where the aglet currently resides.
getCreationTime
public long getCreationTime()
- Gets the time when the aglet is created.
getAPIMajorVersion
public short getAPIMajorVersion()
- Gets the API major version to which the aglet is instantiated.
getAPIMinorVersion
public short getAPIMinorVersion()
- Gets the API minor version to which the aglet is instantiated.
getAuthorityName
public String getAuthorityName()
- Gets the authority name. This will be replaced with new Security API.
Please do not use this method for the moment.
getPrivilegeName
public String getPrivilegeName()
- Note: getPrivilegeName() is deprecated.
- Gets the privilege name. This will be replaced with new Security API.
Please do not use this method for the moment.
toString
public String toString()
- Gets a string representation of the object.
- Overrides:
- toString in class Object
clone
public AgletInfo clone(String a,
URL c)
- Note: clone() is deprecated.
All Packages Class Hierarchy This Package Previous Next Index