Class Library
- java.lang.Object
-
- org.apache.karaf.features.internal.model.Library
-
-
Field Summary
-
Fields inherited from interface org.apache.karaf.features.Library
TYPE_BOOT, TYPE_DEFAULT, TYPE_ENDORSED, TYPE_EXTENSION
-
-
Constructor Summary
Constructors Constructor Description Library()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocation()
String
getType()
boolean
isDelegate()
Whether given library's exported packages should be added toorg.osgi.framework.bootdelegation
property in${karaf.etc}/config.properties
boolean
isExport()
Whether given library's exported packages should be added toorg.osgi.framework.system.packages.extra
property in${karaf.etc}/config.properties
.void
setDelegate(boolean delegate)
void
setExport(boolean export)
void
setLocation(String location)
void
setType(String type)
-
-
-
Method Detail
-
getLocation
public String getLocation()
- Specified by:
getLocation
in interfaceLibrary
-
setLocation
public void setLocation(String location)
-
setType
public void setType(String type)
-
isExport
public boolean isExport()
Description copied from interface:Library
Whether given library's exported packages should be added toorg.osgi.framework.system.packages.extra
property in${karaf.etc}/config.properties
.
-
setExport
public void setExport(boolean export)
-
isDelegate
public boolean isDelegate()
Description copied from interface:Library
Whether given library's exported packages should be added toorg.osgi.framework.bootdelegation
property in${karaf.etc}/config.properties
- Specified by:
isDelegate
in interfaceLibrary
- Returns:
-
setDelegate
public void setDelegate(boolean delegate)
-
-