|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.javacard.spi.cardmgmt.DeploymentUnitLoader
@TransactionType(value=NOT_SUPPORTED) public final class DeploymentUnitLoader
The DeploymentUnitLoader class allows the card management application to load deployment units.
The DeploymentUnitLoader object is a permanent Java Card runtime environment Entry Point Objects.
Some operations of the deployment unit loader are subject to permission checks.
DeploymentUnit,
CardManagementPermission,
JCREPermission| Method Summary | |
|---|---|
static DeploymentUnitLoader |
getDeploymentUnitLoader()
Retrieves the deployment unit loader. |
Enumeration<DeploymentUnit> |
getLoadedDeploymentUnits()
Returns an enumeration of all currently loaded deployment units. |
Enumeration<DeploymentUnit> |
getLoadedDeploymentUnits(byte type)
Returns an enumeration of all currently loaded deployment units of the specified type. |
DeploymentUnit |
load(byte type,
InputStream inputStream)
Loads a deployment unit of the specified type from the specified input stream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DeploymentUnitLoader getDeploymentUnitLoader()
public Enumeration<DeploymentUnit> getLoadedDeploymentUnits()
public Enumeration<DeploymentUnit> getLoadedDeploymentUnits(byte type)
type - the type of the deployment unit to be loaded.
IllegalArgumentException - if type is not a legal type. See
ApplicationGroup and Library
public DeploymentUnit load(byte type,
InputStream inputStream)
throws IOException,
DeploymentException
type - the type of the deployment unit to be loaded.inputStream - the inputStream from which the deployment unit JAR is to be
read.
NullPointerException - if inputStream is null.
IllegalArgumentException - type is not a legal type. See
ApplicationGroup and LibraryIOException - if an IO exception occurs while reading the input stream.
DeploymentException - if any other exception or error occurs during loading.
SecurityException - if loading a deployment unit is not granted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||