com.sun.javacard.spi.cardmgmt
Interface Library

All Superinterfaces:
DeploymentUnit

public interface Library
extends DeploymentUnit

A Library object encapsulates all the characteristics of an extension library or classic library.

Extension libraries constitute the units of distribution, deployment and code sharing among all application groups.

Classic libraries constitute the units of distribution and deployment of classic library packages (Java packages without any applet). As per the legacy model, classic user libraries are shared among all classic applet-based application groups.

Library objects are permanent Java Card runtime environment Entry Point Objects.

Some operations on libraries are subject to permission checks.

Since:
Java Card 3.0
See Also:
DeploymentUnit, CardManagementPermission, JCREPermission

Field Summary
static byte TYPE_CLASSIC_LIB
          Classic library type.
static byte TYPE_EXTENSION_LIB
          Extension library type.
 
Fields inherited from interface com.sun.javacard.spi.cardmgmt.DeploymentUnit
APP_TYPE, LIB_TYPE
 
Method Summary
 
Methods inherited from interface com.sun.javacard.spi.cardmgmt.DeploymentUnit
getType, unload
 

Field Detail

TYPE_CLASSIC_LIB

static final byte TYPE_CLASSIC_LIB
Classic library type.

See Also:
Constant Field Values

TYPE_EXTENSION_LIB

static final byte TYPE_EXTENSION_LIB
Extension library type.

See Also:
Constant Field Values


Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.