ecologylab.xml.library.jnlp.resource
Class Nativelib
java.lang.Object
ecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.xml.library.jnlp.resource.ResourceElement
ecologylab.xml.library.jnlp.resource.HrefBasedResource
ecologylab.xml.library.jnlp.resource.Jar
ecologylab.xml.library.jnlp.resource.Nativelib
- All Implemented Interfaces:
- OptimizationTypes, XMLTranslationExceptionTypes
public class Nativelib
- extends Jar
A nativelib element specifies a JAR file that contains native libraries. For example:
The JNLP client must ensure that each file entry in the root directory of the JAR file (i.e., /) can be loaded into
the running process using the System.loadLibrary method. Each entry must contain a platform-dependent shared library
with the correct naming convention, e.g., *.dll on Windows or lib*.so on Solaris/Linux. The application is
responsible for doing the actual call to System.loadLibrary.
Native libraries would typically be included in a resources element that is geared toward a particular operating
system and architecture. For example:
By default, jar and nativelib resources will be downloaded eagerly, i.e., they are downloaded and available locally
to the JVM running the application before the application is launched. The jar and nativelib elements also allow a
resource to be specified as lazy. This means the resource does not have to be downloaded onto the client system
before the application is launched.
- Author:
- Zachary O. Toups (toupsz@cs.tamu.edu)
| Fields inherited from class ecologylab.xml.library.jnlp.resource.Jar |
download |
| Fields inherited from interface ecologylab.xml.OptimizationTypes |
BAD_FIELD, COLLECTION_ELEMENT, COLLECTION_SCALAR, IGNORED_ATTRIBUTE, IGNORED_ELEMENT, LEAF_NODE_VALUE, MAP_ELEMENT, MAP_SCALAR, NAME_SPACE_ATTRIBUTE, NAME_SPACE_LEAF_NODE, NAME_SPACE_MASK, NAME_SPACE_NESTED_ELEMENT, NAMESPACE_IGNORED_ELEMENT, NAMESPACE_TRIAL_ELEMENT, OTHER_NESTED_ELEMENT, REGULAR_ATTRIBUTE, REGULAR_NESTED_ELEMENT, ROOT, UNSET_TYPE, XMLNS_ATTRIBUTE, XMLNS_IGNORED |
| Methods inherited from class ecologylab.xml.ElementState |
addNestedElement, addNestedElement, appendTextNodeString, buildDOM, buildDOM, buildDOM, buildDOM, buildDOM, buildDOMFromXMLCharSequence, buildDOMFromXMLString, checkAnnotation, convertNameStyles, createChildHook, fieldToXMLOptimizations, floatingPrecision, getCollection, getElementStateById, getMap, getNestedNameSpace, getTextNodeString, leafElementFieldNames, lookupNestedNameSpace, optimizations, parent, postTranslationProcessingHook, preTranslationProcessingHook, recycle, setDeclarationStyle, setFieldUsingTypeRegistry, setFloatingPrecision, setParent, setUseDOMForTranslateTo, translateFromXML, translateFromXML, translateFromXML, translateFromXML, translateFromXML, translateFromXMLCharSequence, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOMCharSequence, translateFromXMLDOMCharSequence, translateFromXMLRootNode, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateToDOM, translateToXML, translateToXML, translateToXML, translateToXML, writePrettyXML, writePrettyXML, writePrettyXML |
| Methods inherited from class ecologylab.generic.Debug |
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Nativelib
public Nativelib()