org.jboss.osgi.metadata
Class NativeLibrary
java.lang.Object
org.jboss.osgi.metadata.NativeLibrary
- All Implemented Interfaces:
- Serializable
public class NativeLibrary
- extends Object
- implements Serializable
Meta data for native code libraries as defined by OSGi R4V42.
3.9 Loading Native Code Libraries
http://www.osgi.org/Download/File?url=/download/r4v42/r4.core.pdf
- Since:
- 21-Jan-2010
- Version:
- $Revision$
- Author:
- thomas.diesler@jboss.com
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeLibrary
public NativeLibrary(List<String> osNames,
String libraryPath,
String librarySource)
- Create a NativeCode instance with mandatory properties.
- Parameters:
osNames - The set of OS nameslibraryPath - The library pathlibrarySource - An interface from which to retrieve the actual library location
getLibrarySource
public String getLibrarySource()
getLibraryPath
public String getLibraryPath()
getOsNames
public List<String> getOsNames()
getOsVersions
public List<VersionRange> getOsVersions()
setOsVersions
public void setOsVersions(List<VersionRange> osVersions)
getProcessors
public List<String> getProcessors()
setProcessors
public void setProcessors(List<String> processors)
setLanguages
public void setLanguages(List<String> languages)
getLanguages
public List<String> getLanguages()
getSelectionFilter
public String getSelectionFilter()
setSelectionFilter
public void setSelectionFilter(String selectionFilter)
isOptional
public boolean isOptional()
setOptional
public void setOptional(boolean optional)
Copyright © 2010. All Rights Reserved.