Modifier and Type | Class and Description |
---|---|
class |
GeneralSecurityException |
Modifier and Type | Class and Description |
---|---|
class |
CommandException
Base class for exceptions thrown when executing commands.
|
Modifier and Type | Method and Description |
---|---|
Object |
Action.execute(org.apache.felix.service.command.CommandSession session) |
Modifier and Type | Method and Description |
---|---|
protected Object |
DefaultActionPreparator.convert(Action action,
org.apache.felix.service.command.CommandSession session,
Object value,
Type toType) |
Object |
AbstractCommand.execute(org.apache.felix.service.command.CommandSession session,
List<Object> arguments) |
protected ActionPreparator |
AbstractCommand.getPreparator() |
boolean |
DefaultActionPreparator.prepare(Action action,
org.apache.felix.service.command.CommandSession session,
List<Object> params) |
boolean |
ActionPreparator.prepare(Action action,
org.apache.felix.service.command.CommandSession session,
List<Object> arguments) |
void |
AbstractCommand.releaseAction(Action action)
Release the used Action.
|
Modifier and Type | Method and Description |
---|---|
Object |
DefaultConverter.convert(Object fromValue,
ReifiedType type) |
Object |
DefaultConverter.convert(Object source,
Type target) |
Object |
DefaultConverter.convertFromString(String value,
Class toType,
Object loader) |
Object |
DefaultConverter.convertToNumber(Number value,
Class toType) |
Modifier and Type | Method and Description |
---|---|
Object |
CommandProcessorImpl.eval(org.apache.felix.service.command.CommandSession session,
Object[] argv) |
Modifier and Type | Method and Description |
---|---|
void |
Instance.changeJavaOpts(String javaOpts) |
void |
Instance.changeRmiRegistryPort(int port) |
void |
Instance.changeRmiServerPort(int port) |
void |
Instance.changeSshHost(String host) |
void |
Instance.changeSshPort(int port) |
Instance |
AdminService.cloneInstance(String name,
String cloneName,
InstanceSettings settings) |
Instance |
AdminService.cloneInstance(String name,
String cloneName,
InstanceSettings settings,
boolean printOutput) |
Instance |
AdminService.createInstance(String name,
InstanceSettings settings) |
Instance |
AdminService.createInstance(String name,
InstanceSettings settings,
boolean printOutput) |
void |
Instance.destroy() |
String |
Instance.getState() |
void |
AdminService.refreshInstance()
Deprecated.
|
void |
AdminService.renameInstance(String name,
String newName) |
void |
AdminService.renameInstance(String name,
String newName,
boolean printOutput) |
void |
Instance.start(String javaOpts) |
void |
Instance.stop() |
Modifier and Type | Method and Description |
---|---|
protected Object |
StopCommand.doExecute() |
protected Object |
StatusCommand.doExecute() |
protected Object |
StartCommand.doExecute() |
protected Object |
RenameCommand.doExecute() |
protected Object |
ListCommand.doExecute() |
protected Object |
DestroyCommand.doExecute() |
protected Object |
CreateCommand.doExecute() |
protected Object |
ConnectCommand.doExecute() |
protected Object |
CloneCommand.doExecute() |
protected Object |
ChangeSshPortCommand.doExecute() |
protected Object |
ChangeSshHostCommand.doExecute() |
Object |
ChangeRmiServerPortCommand.doExecute() |
protected Object |
ChangeRmiRegistryPortCommand.doExecute() |
protected Object |
ChangeOptsCommand.doExecute() |
Modifier and Type | Method and Description |
---|---|
void |
AdminServiceImpl.changeInstanceSshHost(String name,
String host) |
void |
InstanceImpl.changeJavaOpts(String javaOpts) |
void |
InstanceImpl.changeRmiRegistryPort(int port) |
void |
InstanceImpl.changeRmiServerPort(int port) |
void |
InstanceImpl.changeSshHost(String host) |
void |
InstanceImpl.changeSshPort(int port) |
Instance |
AdminServiceImpl.cloneInstance(String name,
String cloneName,
InstanceSettings settings) |
Instance |
AdminServiceImpl.cloneInstance(String name,
String cloneName,
InstanceSettings settings,
boolean printOutput) |
Instance |
AdminServiceImpl.createInstance(String name,
InstanceSettings settings) |
Instance |
AdminServiceImpl.createInstance(String name,
InstanceSettings settings,
boolean printOutput) |
void |
InstanceImpl.destroy() |
String |
InstanceImpl.getState() |
protected static Properties |
AdminServiceImpl.loadPropertiesFile(URL configPropURL) |
void |
AdminServiceImpl.refreshInstance() |
void |
AdminServiceImpl.renameInstance(String name,
String newName) |
void |
AdminServiceImpl.renameInstance(String oldName,
String newName,
boolean printOutput) |
void |
InstanceImpl.start(String javaOpts) |
void |
InstanceImpl.stop() |
Modifier and Type | Method and Description |
---|---|
static void |
Execute.main(String[] args) |
Modifier and Type | Method and Description |
---|---|
void |
AdminServiceMBean.changeJavaOpts(String name,
String javaopts) |
void |
AdminServiceMBean.changeRmiRegistryPort(String name,
int port) |
void |
AdminServiceMBean.changeRmiServerPort(String name,
int port) |
void |
AdminServiceMBean.changeSshHost(String name,
String host) |
void |
AdminServiceMBean.changeSshPort(String name,
int port) |
void |
AdminServiceMBean.cloneInstance(String name,
String cloneName,
InstanceSettings settings) |
void |
AdminServiceMBean.cloneInstance(String name,
String cloneName,
int sshPort,
int rmiRegistryPort,
int rmiServerPort,
String location,
String javaOpts) |
int |
AdminServiceMBean.createInstance(String name,
InstanceSettings settings) |
int |
AdminServiceMBean.createInstance(String name,
int sshPort,
int rmiRegistryPort,
int rmiServerPort,
String location,
String javaOpts,
String features,
String featureURLs) |
int |
AdminServiceMBean.createInstance(String name,
int sshPort,
int rmiRegistryPort,
int rmiServerPort,
String location,
String javaOpts,
String features,
String featureURLs,
String address) |
void |
AdminServiceMBean.destroyInstance(String name) |
TabularData |
AdminServiceMBean.getInstances() |
void |
AdminServiceMBean.renameInstance(String originalName,
String newName) |
void |
AdminServiceMBean.startInstance(String name) |
void |
AdminServiceMBean.startInstance(String name,
String opts) |
void |
AdminServiceMBean.startInstance(String name,
String opts,
boolean wait) |
void |
AdminServiceMBean.stopInstance(String name) |
Modifier and Type | Method and Description |
---|---|
void |
AdminServiceMBeanImpl.changeJavaOpts(String name,
String javaOpts) |
void |
AdminServiceMBeanImpl.changeRmiRegistryPort(String name,
int port) |
void |
AdminServiceMBeanImpl.changeRmiServerPort(String name,
int port) |
void |
AdminServiceMBeanImpl.changeSshHost(String name,
String host) |
void |
AdminServiceMBeanImpl.changeSshPort(String name,
int port) |
void |
AdminServiceMBeanImpl.cloneInstance(String name,
String cloneName,
InstanceSettings settings) |
void |
AdminServiceMBeanImpl.cloneInstance(String name,
String cloneName,
int sshPort,
int rmiRegistryPort,
int rmiServerPort,
String location,
String javaOpts) |
int |
AdminServiceMBeanImpl.createInstance(String name,
InstanceSettings settings) |
int |
AdminServiceMBeanImpl.createInstance(String name,
int sshPort,
int rmiRegistryPort,
int rmiServerPort,
String location,
String javaOpts,
String features,
String featureURLs) |
int |
AdminServiceMBeanImpl.createInstance(String name,
int sshPort,
int rmiRegistryPort,
int rmiServerPort,
String location,
String javaOpts,
String features,
String featureURLs,
String address) |
void |
AdminServiceMBeanImpl.destroyInstance(String name) |
TabularData |
AdminServiceMBeanImpl.getInstances() |
void |
AdminServiceMBeanImpl.renameInstance(String originalName,
String newName) |
void |
AdminServiceMBeanImpl.startInstance(String name) |
void |
AdminServiceMBeanImpl.startInstance(String name,
String opts) |
void |
AdminServiceMBeanImpl.startInstance(String name,
String opts,
boolean wait) |
void |
AdminServiceMBeanImpl.stopInstance(String name) |
Modifier and Type | Method and Description |
---|---|
static void |
Main.main(String[] args) |
Modifier and Type | Method and Description |
---|---|
protected Object |
MyCommand.doExecute() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
BlueprintTransformer.analyze(Source source) |
protected Document |
BlueprintDeploymentListener.parse(File artifact) |
protected static Document |
BlueprintTransformer.parse(URL url) |
static void |
BlueprintTransformer.transform(URL url,
OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
FeatureDeploymentListener.destroy() |
void |
FeatureDeploymentListener.init() |
protected Document |
FeatureDeploymentListener.parse(File artifact) |
static void |
FeatureTransformer.transform(URL url,
OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
KarArtifactInstaller.install(File file) |
protected Document |
KarArtifactInstaller.parse(File artifact) |
void |
KarArtifactInstaller.uninstall(File file) |
void |
KarArtifactInstaller.update(File file) |
protected void |
KarArtifactInstaller.updateTimestamp(File karafArchive) |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
SpringTransformer.analyze(Source source) |
protected Document |
SpringDeploymentListener.parse(File artifact) |
protected static Document |
SpringTransformer.parse(URL url) |
static void |
SpringTransformer.transform(URL url,
OutputStream os) |
Modifier and Type | Method and Description |
---|---|
URL |
WrapDeploymentListener.transform(URL artifact) |
Modifier and Type | Method and Description |
---|---|
protected Object |
DumpCommand.doExecute() |
Modifier and Type | Method and Description |
---|---|
void |
TextDumpProvider.createDump(DumpDestination destination)
Creates dump in given entry.
|
void |
LogDumpProvider.createDump(DumpDestination destination)
Attach log entries from directory.
|
protected abstract void |
TextDumpProvider.writeDump(OutputStreamWriter outputStreamWriter)
This method should create output.
|
protected void |
FeaturesDumpProvider.writeDump(OutputStreamWriter outputStreamWriter)
This method should create output.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
DumpDestination.add(String name)
Creates new entry in dump destination.
|
void |
DumpProvider.createDump(DumpDestination destination)
Creates dump in given entry.
|
void |
DumpDestination.save()
Complete creation of the dump.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
ZipDumpDestination.add(String name)
Creates new entry in dump destination.
|
OutputStream |
DirectoryDumpDestination.add(String name) |
void |
TextDumpProvider.createDump(DumpDestination destination)
Creates dump in given entry.
|
void |
ZipDumpDestination.save()
Closes archive handle.
|
void |
DirectoryDumpDestination.save() |
protected abstract void |
TextDumpProvider.writeDump(OutputStreamWriter outputStreamWriter)
This method should create output.
|
Modifier and Type | Method and Description |
---|---|
void |
Activator.start(org.osgi.framework.BundleContext context) |
void |
Activator.stop(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
void |
HeapDumpProvider.createDump(DumpDestination destination) |
protected void |
ThreadDumpProvider.writeDump(OutputStreamWriter outputStream) |
protected void |
MemoryDumpProvider.writeDump(OutputStreamWriter outputStream) |
protected void |
EnvironmentDumpProvider.writeDump(OutputStreamWriter outputStream) |
Modifier and Type | Method and Description |
---|---|
void |
ScreenshotDumpProvider.createDump(DumpDestination destination)
Creates dump in given entry.
|
Modifier and Type | Method and Description |
---|---|
void |
DiagnosticDumpMBean.createDump(boolean directory,
String name)
Create dump with directory switch and name.
|
void |
DiagnosticDumpMBean.createDump(String name)
Creates dump over JMX.
|
Modifier and Type | Method and Description |
---|---|
void |
DiagnosticDumpMBeanImpl.createDump(boolean directory,
String name)
Create dump with directory switch and name.
|
void |
DiagnosticDumpMBeanImpl.createDump(String name)
Creates dump witch given name
|
Modifier and Type | Method and Description |
---|---|
void |
FeaturesService.addRepository(URI url) |
void |
FeaturesService.addRepository(URI url,
boolean install) |
Feature |
FeaturesService.getFeature(String name) |
Feature |
FeaturesService.getFeature(String name,
String version) |
Feature[] |
Repository.getFeatures() |
URI[] |
Repository.getRepositories() |
void |
FeaturesService.installFeature(Feature f,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesService.installFeature(String name) |
void |
FeaturesService.installFeature(String name,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesService.installFeature(String name,
String version) |
void |
FeaturesService.installFeature(String name,
String version,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesService.installFeatures(Set<Feature> features,
EnumSet<FeaturesService.Option> options) |
Feature[] |
FeaturesService.listFeatures() |
void |
FeaturesService.removeRepository(URI url) |
void |
FeaturesService.removeRepository(URI url,
boolean uninstall) |
List<BundleInfo> |
Resolver.resolve(Feature feature) |
void |
FeaturesService.restoreRepository(URI url) |
void |
FeaturesService.uninstallFeature(String name) |
void |
FeaturesService.uninstallFeature(String name,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesService.uninstallFeature(String name,
String version) |
void |
FeaturesService.uninstallFeature(String name,
String version,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesService.validateRepository(URI uri)
Validate repository contents.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
FeaturesCommandSupport.doExecute() |
protected Object |
ChooseUrlCommand.doExecute() |
protected void |
UninstallFeatureCommand.doExecute(FeaturesService admin) |
protected void |
RemoveUrlCommand.doExecute(FeaturesService admin) |
protected void |
RemoveRepositoryCommand.doExecute(FeaturesService admin) |
protected void |
RefreshUrlCommand.doExecute(FeaturesService admin) |
protected void |
ListUrlCommand.doExecute(FeaturesService admin) |
protected void |
ListRepositoriesCommand.doExecute(FeaturesService admin) |
protected void |
ListFeaturesCommand.doExecute(FeaturesService admin) |
protected void |
ListFeatureVersionsCommand.doExecute(FeaturesService admin) |
protected void |
InstallFeatureCommand.doExecute(FeaturesService admin) |
protected void |
InfoFeatureCommand.doExecute(FeaturesService admin) |
protected abstract void |
FeaturesCommandSupport.doExecute(FeaturesService admin) |
protected void |
AddUrlCommand.doExecute(FeaturesService admin) |
URI |
FeatureFinder.getUriFor(String name,
String version) |
Modifier and Type | Method and Description |
---|---|
void |
FeaturesServiceImpl.addRepository(URI uri)
Register a features repository.
|
void |
FeaturesServiceImpl.addRepository(URI uri,
boolean install)
Register a features repository.
|
protected void |
FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.InstallationState state,
Feature feature,
boolean verbose) |
protected void |
FeaturesServiceImpl.doInstallFeatures(Set<Feature> features,
EnumSet<FeaturesService.Option> options) |
Feature |
FeaturesServiceImpl.getFeature(String name) |
Feature |
FeaturesServiceImpl.getFeature(String name,
String version) |
Feature[] |
RepositoryImpl.getFeatures() |
protected Map<String,Map<String,Feature>> |
FeaturesServiceImpl.getFeatures() |
Set<Feature> |
FeaturesServiceImpl.getFeaturesContainingBundle(org.osgi.framework.Bundle bundle) |
URI[] |
RepositoryImpl.getRepositories() |
void |
FeaturesServiceImpl.installFeature(Feature f,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesServiceImpl.installFeature(String name)
Install a feature identified by a name.
|
void |
FeaturesServiceImpl.installFeature(String name,
EnumSet<FeaturesService.Option> options)
Install a feature identified by a name, including installation options.
|
void |
FeaturesServiceImpl.installFeature(String name,
String version)
Install a feature identified by a name and a version.
|
void |
FeaturesServiceImpl.installFeature(String name,
String version,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesServiceImpl.installFeatures(Set<Feature> features,
EnumSet<FeaturesService.Option> options) |
protected RepositoryImpl |
FeaturesServiceImpl.internalAddRepository(URI uri)
Add a features repository into the internal registry.
|
Feature[] |
FeaturesServiceImpl.listFeatures() |
protected void |
FeaturesServiceImpl.refreshRepository(URI uri)
Refresh a features repository.
|
protected void |
FeaturesServiceImpl.refreshRepository(URI uri,
boolean install)
Refresh a features repository.
|
void |
FeaturesServiceImpl.removeRepository(URI uri)
Remove a features repository.
|
void |
FeaturesServiceImpl.removeRepository(URI uri,
boolean uninstall)
Remove a features repository.
|
protected List<BundleInfo> |
FeaturesServiceImpl.resolve(Feature feature) |
void |
FeaturesServiceImpl.restoreRepository(URI uri)
Restore a features repository.
|
void |
FeaturesServiceImpl.start() |
void |
FeaturesServiceImpl.stop() |
void |
FeaturesServiceImpl.uninstallFeature(String name) |
void |
FeaturesServiceImpl.uninstallFeature(String name,
EnumSet<FeaturesService.Option> options) |
void |
FeaturesServiceImpl.uninstallFeature(String name,
String version) |
void |
FeaturesServiceImpl.uninstallFeature(String name,
String version,
EnumSet<FeaturesService.Option> options) |
static void |
FeatureValidationUtil.validate(URI uri)
Runs schema validation.
|
void |
FeaturesServiceImpl.validateRepository(URI uri)
Validate repository.
|
Modifier and Type | Method and Description |
---|---|
void |
FeaturesServiceMBean.addRepository(String url) |
void |
FeaturesServiceMBean.addRepository(String url,
boolean install) |
TabularData |
FeaturesServiceMBean.getFeatures() |
TabularData |
FeaturesServiceMBean.getRepositories() |
TabularData |
FeaturesServiceMBean.infoFeature(String name) |
TabularData |
FeaturesServiceMBean.infoFeature(String name,
String version) |
void |
FeaturesServiceMBean.installFeature(String name) |
void |
FeaturesServiceMBean.installFeature(String name,
boolean noClean,
boolean noRefresh) |
void |
FeaturesServiceMBean.installFeature(String name,
boolean noClean,
boolean noRefresh,
boolean noStart) |
void |
FeaturesServiceMBean.installFeature(String name,
String version) |
void |
FeaturesServiceMBean.installFeature(String name,
String version,
boolean noClean,
boolean noRefresh) |
void |
FeaturesServiceMBean.installFeature(String name,
String version,
boolean noClean,
boolean noRefresh,
boolean noStart) |
void |
FeaturesServiceMBean.removeRepository(String url) |
void |
FeaturesServiceMBean.removeRepository(String url,
boolean uninstall) |
void |
FeaturesServiceMBean.uninstallFeature(String name) |
void |
FeaturesServiceMBean.uninstallFeature(String name,
boolean noRefresh) |
void |
FeaturesServiceMBean.uninstallFeature(String name,
String version) |
void |
FeaturesServiceMBean.uninstallFeature(String name,
String version,
boolean noRefresh) |
Modifier and Type | Method and Description |
---|---|
void |
FeaturesServiceMBeanImpl.addRepository(String uri) |
void |
FeaturesServiceMBeanImpl.addRepository(String uri,
boolean install) |
TabularData |
FeaturesServiceMBeanImpl.getFeatures() |
TabularData |
FeaturesServiceMBeanImpl.getRepositories() |
TabularData |
FeaturesServiceMBeanImpl.infoFeature(String name) |
TabularData |
FeaturesServiceMBeanImpl.infoFeature(String name,
String version) |
void |
FeaturesServiceMBeanImpl.installFeature(String name) |
void |
FeaturesServiceMBeanImpl.installFeature(String name,
boolean noClean,
boolean noRefresh) |
void |
FeaturesServiceMBeanImpl.installFeature(String name,
boolean noClean,
boolean noRefresh,
boolean noStart) |
void |
FeaturesServiceMBeanImpl.installFeature(String name,
String version) |
void |
FeaturesServiceMBeanImpl.installFeature(String name,
String version,
boolean noClean,
boolean noRefresh) |
void |
FeaturesServiceMBeanImpl.installFeature(String name,
String version,
boolean noClean,
boolean noRefresh,
boolean noStart) |
ObjectName |
FeaturesServiceMBeanImpl.preRegister(MBeanServer server,
ObjectName name) |
void |
FeaturesServiceMBeanImpl.removeRepository(String uri) |
void |
FeaturesServiceMBeanImpl.removeRepository(String uri,
boolean uninstall) |
void |
FeaturesServiceMBeanImpl.uninstallFeature(String name) |
void |
FeaturesServiceMBeanImpl.uninstallFeature(String name,
boolean noRefresh) |
void |
FeaturesServiceMBeanImpl.uninstallFeature(String name,
String version) |
void |
FeaturesServiceMBeanImpl.uninstallFeature(String name,
String version,
boolean noRefresh) |
Modifier and Type | Method and Description |
---|---|
List<BundleInfo> |
ObrResolver.getAllBundles(Feature feature)
get all bundles from a given feature, including the bundles from dependency
features
|
List<BundleInfo> |
ObrResolver.resolve(Feature feature) |
Modifier and Type | Method and Description |
---|---|
void |
Activator.start(org.osgi.framework.BundleContext bundleContext) |
void |
Activator.stop(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
protected Object |
UpdateCommand.doExecute() |
protected Object |
ManageRealmCommand.doExecute() |
protected Object |
ListUsersCommand.doExecute() |
protected Object |
ListRealmsCommand.doExecute() |
protected Object |
ListPendingCommand.doExecute() |
protected Object |
ListGroupsCommand.doExecute() |
protected Object |
JaasCommandSupport.doExecute()
Add the command to the command queue.
|
protected Object |
CancelCommand.doExecute() |
protected Object |
UserDeleteCommand.doExecute(BackingEngine engine)
Execute the RoleAddCommand in the given Excecution Context.
|
protected Object |
UserAddCommand.doExecute(BackingEngine engine)
Execute the RoleAddCommand in the given Excecution Context.
|
protected Object |
UpdateCommand.doExecute(BackingEngine engine) |
protected Object |
RoleDeleteCommand.doExecute(BackingEngine engine)
Execute the RoleDeleteCommand in the given Excecution Context.
|
protected Object |
RoleAddCommand.doExecute(BackingEngine engine)
Execute the RoleAddCommand in the given Excecution Context.
|
protected Object |
ManageRealmCommand.doExecute(BackingEngine engine) |
protected Object |
ListUsersCommand.doExecute(BackingEngine engine) |
protected Object |
ListRealmsCommand.doExecute(BackingEngine engine) |
protected Object |
ListPendingCommand.doExecute(BackingEngine engine) |
protected Object |
ListGroupsCommand.doExecute(BackingEngine engine) |
protected abstract Object |
JaasCommandSupport.doExecute(BackingEngine engine) |
protected Object |
GroupRoleDeleteCommand.doExecute(BackingEngine engine) |
protected Object |
GroupRoleAddCommand.doExecute(BackingEngine engine) |
protected Object |
GroupDeleteCommand.doExecute(BackingEngine engine) |
protected Object |
GroupCreateCommand.doExecute(BackingEngine engine) |
protected Object |
GroupAddCommand.doExecute(BackingEngine engine) |
protected Object |
CancelCommand.doExecute(BackingEngine engine) |
Modifier and Type | Class and Description |
---|---|
class |
KeyIsLocked |
class |
KeystoreIsLocked |
Modifier and Type | Method and Description |
---|---|
static Object |
JDBCUtils.createDatasource(org.osgi.framework.BundleContext bc,
String url)
Looks up a datasource from the url.
|
Modifier and Type | Method and Description |
---|---|
String[] |
LDAPCache.getUserDnAndNamespace(String user) |
String[] |
LDAPCache.getUserRoles(String user,
String userDn,
String userDnNamespace) |
Modifier and Type | Method and Description |
---|---|
Object |
PropertiesConverter.convert(Object from,
org.osgi.service.blueprint.container.ReifiedType type) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
SyncopeLoginModule.extractingRoles(String response)
Extract the user roles from the Syncope entity response.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Set<String>> |
JdbcService.aliases()
List the datasources available and
group aliases for the same datasource.
|
void |
JdbcService.create(String name,
String type,
String driverClassName,
String version,
String url,
String user,
String password,
boolean tryToInstallBundles)
Create a JDBC datasource (using a default template).
|
void |
JdbcService.create(String name,
String type,
String driver,
String version,
String user,
String password,
String servername,
String databasename,
String portnumber,
boolean installBundles)
Create a JDBC datasource for MSSQL.
|
List<String> |
JdbcService.datasourceFileNames()
List the JDBC datasources configuration file names present in the deploy folder.
|
List<String> |
JdbcService.datasources()
List the JDBC datasources available.
|
void |
JdbcService.delete(String name)
Delete a JDBC datasource identified by a name.
|
void |
JdbcService.execute(String datasource,
String command)
Execute a SQL command on a given JDBC datasource.
|
Map<String,String> |
JdbcService.info(String datasource)
Get detailed info about a JDBC datasource.
|
Map<String,List<String>> |
JdbcService.query(String datasource,
String query)
Execute a SQL query on a given JDBC datasource.
|
Map<String,List<String>> |
JdbcService.tables(String datasource)
List the tables available on a given JDBC datasource.
|
Modifier and Type | Method and Description |
---|---|
Object |
CreateCommand.doExecute() |
Object |
TablesCommand.doExecute() |
Object |
QueryCommand.doExecute() |
Object |
DeleteCommand.doExecute() |
abstract Object |
JdbcCommandSupport.doExecute() |
Object |
InfoCommand.doExecute() |
Object |
DataSourcesCommand.doExecute() |
Object |
ExecuteCommand.doExecute() |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<String>> |
JdbcServiceImpl.aliases() |
void |
JdbcServiceImpl.TYPES.copyDataSourceFile(File outFile,
HashMap<String,String> properties) |
void |
JdbcServiceImpl.create(String name,
String type,
String driverClassName,
String version,
String url,
String user,
String password,
boolean tryToInstallBundles) |
void |
JdbcServiceImpl.create(String name,
String type,
String driverClassName,
String version,
String user,
String password,
String servername,
String databasename,
String portnumber,
boolean tryToInstallBundles) |
List<String> |
JdbcServiceImpl.datasourceFileNames() |
List<String> |
JdbcServiceImpl.datasources() |
void |
JdbcServiceImpl.delete(String name) |
void |
JdbcServiceImpl.execute(String datasource,
String command) |
Map<String,String> |
JdbcServiceImpl.info(String datasource) |
void |
JdbcServiceImpl.TYPES.installBundle(org.osgi.framework.BundleContext bundleContext,
String version) |
Map<String,List<String>> |
JdbcServiceImpl.query(String datasource,
String query) |
Map<String,List<String>> |
JdbcServiceImpl.tables(String datasource) |
Modifier and Type | Method and Description |
---|---|
List<JmsMessage> |
JmsService.browse(String connectionFactory,
String queue,
String selector,
String username,
String password)
Browse a destination.
|
List<String> |
JmsService.connectionFactories()
List the JMS connection factories.
|
List<String> |
JmsService.connectionFactoryFileNames()
List the JMS connecion factories file names.
|
int |
JmsService.consume(String connectionFactory,
String queue,
String selector,
String username,
String password)
Consume messages from a given destination.
|
int |
JmsService.count(String connectionFactory,
String queue,
String username,
String password)
Count the number of messages in a JMS queue.
|
void |
JmsService.create(String name,
String type,
String url)
Create a new JMS connection factory.
|
void |
JmsService.delete(String name)
Delete a JMS connection factory.
|
Map<String,String> |
JmsService.info(String connectionFactory,
String username,
String password)
Get details about a given JMS connection factory.
|
int |
JmsService.move(String connectionFactory,
String sourceQueue,
String targetQueue,
String selector,
String username,
String password)
Move messages from a destination to another.
|
List<String> |
JmsService.queues(String connectionFactory,
String username,
String password)
List the queues.
|
void |
JmsService.send(String connectionFactory,
String queue,
String body,
String replyTo,
String username,
String password)
Send a message on the given queue.
|
List<String> |
JmsService.topics(String connectionFactory,
String username,
String password)
List the topics.
|
Modifier and Type | Method and Description |
---|---|
Object |
CreateCommand.doExecute() |
Object |
MoveCommand.doExecute() |
Object |
ConnectionFactoriesCommand.doExecute() |
Object |
DeleteCommand.doExecute() |
Object |
TopicsCommand.doExecute() |
abstract Object |
JmsCommandSupport.doExecute() |
Object |
ConsumeCommand.doExecute() |
Object |
BrowseCommand.doExecute() |
Object |
CountCommand.doExecute() |
Object |
InfoCommand.doExecute() |
Object |
SendCommand.doExecute() |
Object |
QueuesCommand.doExecute() |
Modifier and Type | Method and Description |
---|---|
List<JmsMessage> |
JmsServiceImpl.browse(String connectionFactory,
String queue,
String filter,
String username,
String password) |
List<String> |
JmsServiceImpl.connectionFactories() |
List<String> |
JmsServiceImpl.connectionFactoryFileNames() |
int |
JmsServiceImpl.consume(String connectionFactory,
String queue,
String selector,
String username,
String password) |
int |
JmsServiceImpl.count(String connectionFactory,
String destination,
String username,
String password) |
void |
JmsServiceImpl.create(String name,
String type,
String url) |
void |
JmsServiceImpl.delete(String name) |
Map<String,String> |
JmsServiceImpl.info(String connectionFactory,
String username,
String password) |
int |
JmsServiceImpl.move(String connectionFactory,
String sourceQueue,
String targetQueue,
String selector,
String username,
String password) |
List<String> |
JmsServiceImpl.queues(String connectionFactory,
String username,
String password) |
void |
JmsServiceImpl.send(String connectionFactory,
String queue,
String body,
String replyTo,
String username,
String password) |
List<String> |
JmsServiceImpl.topics(String connectionFactory,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
JndiService.alias(String name,
String alias)
Create an alias on a given JNDI name.
|
void |
JndiService.bind(long serviceId,
String name)
Bind a given OSGi service to a JNDI name.
|
List<String> |
JndiService.contexts()
List all JNDI sub-contexts.
|
List<String> |
JndiService.contexts(String context)
List the JNDI sub-context from a given context.
|
void |
JndiService.create(String context)
Create a sub-context.
|
void |
JndiService.delete(String context)
Delete a sub-context.
|
Map<String,String> |
JndiService.names()
List the current JNDI names (with the bound class name).
|
Map<String,String> |
JndiService.names(String context)
List the current JNDI names in the given context.
|
void |
JndiService.unbind(String name)
Unbind an existing name.
|
Constructor and Description |
---|
KarafInitialContextFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
CreateCommand.doExecute() |
Object |
AliasCommand.doExecute() |
Object |
DeleteCommand.doExecute() |
Object |
NamesCommand.doExecute() |
Object |
UnbindCommand.doExecute() |
Object |
BindCommand.doExecute() |
Object |
ContextsCommand.doExecute() |
abstract Object |
JndiCommandSupport.doExecute() |
Modifier and Type | Method and Description |
---|---|
void |
JndiServiceImpl.alias(String name,
String alias) |
void |
JndiServiceImpl.bind(long serviceId,
String name) |
List<String> |
JndiServiceImpl.contexts() |
List<String> |
JndiServiceImpl.contexts(String name) |
void |
JndiServiceImpl.create(String name) |
void |
JndiServiceImpl.delete(String name) |
Map<String,String> |
JndiServiceImpl.names() |
Map<String,String> |
JndiServiceImpl.names(String name) |
void |
JndiServiceImpl.unbind(String name) |
Modifier and Type | Method and Description |
---|---|
void |
Main.awaitShutdown() |
protected Connection |
GenericJDBCLock.createConnection(String driver,
String url,
String username,
String password)
Create a new jdbc connection.
|
boolean |
Main.destroy() |
protected Connection |
GenericJDBCLock.getConnection()
This method will return an active connection for this given jdbc driver.
|
static Handler |
BootstrapLogManager.getDefaultHandler() |
boolean |
SimpleFileLock.isAlive() |
boolean |
Lock.isAlive()
Indicates whether or not the lock still exists.
|
boolean |
GenericJDBCLock.isAlive()
This method will check if the jdbc connection is still active and if we were able to
acquire or update the karaf_table information.
|
boolean |
DefaultJDBCLock.isAlive() |
void |
Main.launch() |
protected static Properties |
Main.loadPropertiesFile(URL configPropURL,
boolean failIfNotFound) |
boolean |
SimpleFileLock.lock() |
boolean |
Lock.lock()
A KeepAlive function to maintain the lock.
|
boolean |
GenericJDBCLock.lock()
This method is called whenever we want to acquire/steal or update the lock.
|
static void |
Stop.main(String[] args) |
static void |
Status.main(String[] args)
Checks if the shutdown port is bound.
|
static void |
Main.main(String[] args)
This method performs the main task of constructing an framework instance
and starting its execution.
|
static void |
Bootstrap.main(String[] args) |
void |
SimpleFileLock.release() |
void |
Lock.release()
Terminate the lock connection safely.
|
void |
GenericJDBCLock.release()
This method will release the lock that the current master has by setting the karaf_lock table
id to 0.
|
void |
DefaultJDBCLock.release() |
protected void |
Main.setStartLevel(int level,
long timeout) |
void |
Main.unlock() |
Modifier and Type | Method and Description |
---|---|
TabularData |
JMXSecurityMBean.canInvoke(Map<String,List<String>> bulkQuery)
Bulk operation to check whether the current user can access the requested MBeans or invoke the requested
methods.
|
boolean |
JMXSecurityMBean.canInvoke(String objectName)
Checks whether the current user can invoke any methods on a JMX MBean.
|
boolean |
JMXSecurityMBean.canInvoke(String objectName,
String methodName)
Checks whether the current user can invoke overload of the given method.
|
boolean |
JMXSecurityMBean.canInvoke(String objectName,
String methodName,
String[] argumentTypes)
Checks whether the current user can invoke the given method.
|
void |
MBeanServerFactory.destroy() |
void |
MBeanRegistrer.destroy() |
void |
ConnectorServerFactory.destroy() |
Object |
RmiRegistryFactory.getObject() |
MBeanServer |
MBeanServerFactory.getServer() |
void |
MBeanServerFactory.init() |
void |
MBeanRegistrer.init() |
void |
ConnectorServerFactory.init() |
Modifier and Type | Method and Description |
---|---|
TabularData |
JMXSecurityMBeanImpl.canInvoke(Map<String,List<String>> bulkQuery) |
boolean |
JMXSecurityMBeanImpl.canInvoke(String objectName) |
boolean |
JMXSecurityMBeanImpl.canInvoke(String objectName,
String methodName) |
boolean |
JMXSecurityMBeanImpl.canInvoke(String objectName,
String methodName,
String[] argumentTypes) |
Modifier and Type | Method and Description |
---|---|
TabularData |
BundlesMBean.getBundles()
List the bundles.
|
int |
BundlesMBean.getStartLevel(String bundleId)
Get the start level of a given bundle.
|
long |
BundlesMBean.install(String url)
Install a bundle at a given URL.
|
long |
BundlesMBean.install(String url,
boolean start)
Install a bundle at a given URL and start the bundle.
|
TabularData |
BundlesMBean.list()
Deprecated.
use getBundles() instead.
|
void |
BundlesMBean.refresh()
Refresh all bundles.
|
void |
BundlesMBean.refresh(String bundleId)
Refresh a given bundle.
|
void |
BundlesMBean.resolve()
Resolve the bundle.
|
void |
BundlesMBean.resolve(String bundleId)
Resolve a given bundle.
|
void |
BundlesMBean.restart(String bundleId)
Restart the given bundle.
|
void |
BundlesMBean.setStartLevel(String bundleId,
int bundleStartLevel)
Set the start level of a given bundle.
|
void |
BundlesMBean.start(String bundleId)
Start a given bundle.
|
void |
BundlesMBean.stop(String bundleId)
Stop a given bundle.
|
void |
BundlesMBean.uninstall(String bundleId)
Uninstall a given bundle.
|
void |
BundlesMBean.update(String bundleId)
Update a given bundle from its location.
|
void |
BundlesMBean.update(String bundleId,
String location)
Update a given bundle from a given location.
|
Modifier and Type | Method and Description |
---|---|
void |
SpringStateListenerFactory.destroy() |
void |
SpringStateListenerFactory.Destroyable.destroy() |
void |
SpringStateListenerFactory.SpringApplicationListener.destroy() |
void |
BlueprintListener.destroy() |
TabularData |
BundlesMBeanImpl.getBundles() |
int |
BundlesMBeanImpl.getStartLevel(String bundleId) |
void |
BlueprintListener.init() |
long |
BundlesMBeanImpl.install(String url) |
long |
BundlesMBeanImpl.install(String url,
boolean start) |
TabularData |
BundlesMBeanImpl.list()
Deprecated.
use getBundles() instead.
|
void |
BundlesMBeanImpl.refresh() |
void |
BundlesMBeanImpl.refresh(String bundleId) |
void |
BundlesMBeanImpl.resolve() |
void |
BundlesMBeanImpl.resolve(String bundleId) |
void |
BundlesMBeanImpl.restart(String bundleId) |
List<org.osgi.framework.Bundle> |
BundlesSelector.selectBundles(String bundleId)
Select bundles with ID, ID range, name, and version.
|
void |
BundlesMBeanImpl.setStartLevel(String bundleId,
int bundleStartLevel) |
void |
BundlesMBeanImpl.start(String bundleId) |
void |
BundlesMBeanImpl.stop(String bundleId) |
void |
BundlesMBeanImpl.uninstall(String bundleId) |
void |
BundlesMBeanImpl.update(String bundleId) |
void |
BundlesMBeanImpl.update(String bundleId,
String location) |
Modifier and Type | Method and Description |
---|---|
void |
ConfigMBean.appendProperty(String pid,
String key,
String value)
Append (or add) a value for the given configuration key.
|
void |
ConfigMBean.create(String pid)
Create a new configuration for the given PID.
|
void |
ConfigMBean.delete(String pid)
Delete a configuration identified by the given PID.
|
void |
ConfigMBean.deleteProperty(String pid,
String key)
Delete the configuration property identified by the given key.
|
List<String> |
ConfigMBean.getConfigs()
Get the list of all configuration PIDs.
|
List<String> |
ConfigMBean.list()
Deprecated.
use getConfigs() instead.
|
Map<String,String> |
ConfigMBean.listProperties(String pid)
Get the list of properties for a given configuration PID.
|
void |
ConfigMBean.propappend(String pid,
String key,
String value)
Deprecated.
use appendProperty() instead.
|
void |
ConfigMBean.propdel(String pid,
String key)
Deprecated.
use deleteProperty() instead.
|
Map<String,String> |
ConfigMBean.proplist(String pid)
Deprecated.
used listProperties() instead.
|
void |
ConfigMBean.propset(String pid,
String key,
String value)
Deprecated.
use setProperty() instead.
|
void |
ConfigMBean.setProperty(String pid,
String key,
String value)
Set a configuration property.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigMBeanImpl.appendProperty(String pid,
String key,
String value) |
void |
ConfigMBeanImpl.create(String pid) |
void |
ConfigMBeanImpl.delete(String pid) |
void |
ConfigMBeanImpl.deleteProperty(String pid,
String key) |
List<String> |
ConfigMBeanImpl.getConfigs() |
List<String> |
ConfigMBeanImpl.list()
Deprecated.
used getConfigs() instead.
|
Map<String,String> |
ConfigMBeanImpl.listProperties(String pid) |
void |
ConfigMBeanImpl.propappend(String pid,
String key,
String value)
Deprecated.
use appendProperty() instead.
|
void |
ConfigMBeanImpl.propdel(String pid,
String key)
Deprecated.
use deleteProperty() instead.
|
Map<String,String> |
ConfigMBeanImpl.proplist(String pid)
Deprecated.
use listProperties() instead.
|
void |
ConfigMBeanImpl.propset(String pid,
String key,
String value)
Deprecated.
use setProperty() instead.
|
void |
ConfigMBeanImpl.setProperty(String pid,
String key,
String value) |
Modifier and Type | Method and Description |
---|---|
String |
DevMBean.framework()
Deprecated.
use SystemMBean#getFramework() instead.
|
void |
DevMBean.frameworkOptions(boolean debug,
String framework)
Deprecated.
use SystemMBean#setFrameworkDebug() instead.
|
Map |
DevMBean.getProperties(boolean unset,
boolean dumpToFile)
Get system (and eventually OSGi) properties.
|
void |
DevMBean.restart(boolean clean)
Deprecated.
use SystemMBean#reboot() instead.
|
void |
DevMBean.setProperty(String key,
String value,
boolean persistent)
Set the value of a system property.
|
Modifier and Type | Method and Description |
---|---|
String |
DevMBeanImpl.framework() |
void |
DevMBeanImpl.frameworkOptions(boolean debug,
String framework) |
Map |
DevMBeanImpl.getProperties(boolean unset,
boolean dumpToFile) |
void |
DevMBeanImpl.restart(boolean clean) |
void |
DevMBeanImpl.setProperty(String key,
String value,
boolean persistent) |
Modifier and Type | Method and Description |
---|---|
String |
LogMBean.get()
Deprecated.
please, use getLevel() instead.
|
String |
LogMBean.get(String logger)
Deprecated.
please, use getLevel() instead.
|
String |
LogMBean.getLevel()
Get the level of the root logger.
|
String |
LogMBean.getLevel(String logger)
Get the level of a given logger.
|
void |
LogMBean.set(String level)
Deprecated.
please, use setLevel() instead.
|
void |
LogMBean.set(String level,
String logger)
Deprecated.
please, use setLevel() instead.
|
void |
LogMBean.setLevel(String level)
Set the level of the root logger.
|
void |
LogMBean.setLevel(String level,
String logger)
Set the level of a given logger.
|
Modifier and Type | Method and Description |
---|---|
String |
LogMBeanImpl.get() |
String |
LogMBeanImpl.get(String logger) |
String |
LogMBeanImpl.getLevel() |
String |
LogMBeanImpl.getLevel(String logger) |
void |
LogMBeanImpl.set(String level) |
void |
LogMBeanImpl.set(String logger,
String level) |
void |
LogMBeanImpl.setLevel(String level) |
void |
LogMBeanImpl.setLevel(String level,
String logger) |
Modifier and Type | Method and Description |
---|---|
void |
ObrMBean.addUrl(String url)
Add a new URL in the OBR service.
|
void |
ObrMBean.deploy(String bundle)
Deploy a bundle available in the OBR service.
|
void |
ObrMBean.deploy(String bundle,
boolean start,
boolean deployOptional)
Deploy a bundle available in the OBR service and eventually start it.
|
TabularData |
ObrMBean.getBundles()
Get the bundles available in the OBR service.
|
List<String> |
ObrMBean.getUrls()
Get the URLs registered in the OBR service.
|
TabularData |
ObrMBean.list()
Deprecated.
use getBundles() instead.
|
List<String> |
ObrMBean.listUrls()
Deprecated.
use getUrls() instead.
|
void |
ObrMBean.refreshUrl(String url)
Refresh an URL in the OBR service.
|
void |
ObrMBean.removeUrl(String url)
Remove an URL from the OBR service.
|
Modifier and Type | Method and Description |
---|---|
void |
ObrMBeanImpl.addUrl(String url) |
void |
ObrMBeanImpl.deploy(String bundle) |
void |
ObrMBeanImpl.deploy(String bundle,
boolean start,
boolean deployOptional) |
TabularData |
ObrMBeanImpl.getBundles() |
List<String> |
ObrMBeanImpl.getUrls() |
TabularData |
ObrMBeanImpl.list()
Deprecated.
use getBundles() instead.
|
List<String> |
ObrMBeanImpl.listUrls()
Deprecated.
use getUrls() instead.
|
void |
ObrMBeanImpl.refreshUrl(String url) |
void |
ObrMBeanImpl.removeUrl(String url) |
Modifier and Type | Method and Description |
---|---|
List<String> |
PackagesMBean.exportedPackages()
Deprecated.
use getExports() instead
|
List<String> |
PackagesMBean.exportedPackages(long bundleId)
Deprecated.
use getExports() instead
|
List<String> |
PackagesMBean.getExports()
Get the exported packages.
|
List<String> |
PackagesMBean.getExports(long bundleId)
Get the exported packages of a given bundle.
|
List<String> |
PackagesMBean.getImports()
Get the imported packages.
|
List<String> |
PackagesMBean.getImports(long bundleId)
Get the imported packages of a given bundle.
|
List<String> |
PackagesMBean.importedPackages()
Deprecated.
use getImports(bundleId) instead
|
List<String> |
PackagesMBean.importedPackages(long bundleId)
Deprecated.
use getImports(bundleId) instead
|
Modifier and Type | Method and Description |
---|---|
List<String> |
PackagesMBeanImpl.exportedPackages()
Deprecated.
use getExports() instead.
|
List<String> |
PackagesMBeanImpl.exportedPackages(long bundleId)
Deprecated.
use getExports()
|
List<String> |
PackagesMBeanImpl.getExports() |
List<String> |
PackagesMBeanImpl.getExports(long bundleId) |
List<String> |
PackagesMBeanImpl.getImports() |
List<String> |
PackagesMBeanImpl.getImports(long bundleId) |
List<String> |
PackagesMBeanImpl.importedPackages()
Deprecated.
use getImports() instead.
|
List<String> |
PackagesMBeanImpl.importedPackages(long bundleId)
Deprecated.
use getImports() instead.
|
Modifier and Type | Method and Description |
---|---|
void |
ScrServiceMBean.activateComponent(String componentName)
Activates a component that is currently in a DISABLED state.
|
int |
ScrServiceMBean.componentState(String componentName)
Returns the named components state
|
void |
ScrServiceMBean.deactiveateComponent(String componentName)
Disables a component that is not in an ACTIVE state.
|
TabularData |
ScrServiceMBean.getComponents()
Displays a
TabularData with all the component details. |
boolean |
ScrServiceMBean.isComponentActive(String componentName)
Verifies if the named component is currently in an ACTIVE state.
|
String[] |
ScrServiceMBean.listComponents()
Presents a array of components currently registered with the SCR.
|
Modifier and Type | Method and Description |
---|---|
void |
ScrServiceMBeanImpl.activate()
Service component activation call back.
|
void |
ScrServiceMBeanImpl.activateComponent(String componentName) |
int |
ScrServiceMBeanImpl.componentState(String componentName) |
void |
ScrServiceMBeanImpl.deactivate()
Service component deactivation call back.
|
void |
ScrServiceMBeanImpl.deactiveateComponent(String componentName) |
TabularData |
ScrServiceMBeanImpl.getComponents() |
boolean |
ScrServiceMBeanImpl.isComponentActive(String componentName) |
String[] |
ScrServiceMBeanImpl.listComponents() |
Modifier and Type | Method and Description |
---|---|
TabularData |
ServicesMBean.getServices()
Get the list of services.
|
TabularData |
ServicesMBean.getServices(boolean inUse)
Get the list of services, eventually currently in use.
|
TabularData |
ServicesMBean.getServices(long bundleId)
Get the list of services provided by a given bundle.
|
TabularData |
ServicesMBean.getServices(long bundleId,
boolean inUse)
Get the list of services provided by a given bundle and eventually in use.
|
TabularData |
ServicesMBean.list()
Deprecated.
use the Services attribute instead
|
TabularData |
ServicesMBean.list(boolean inUse)
Deprecated.
use getServices() instead
|
TabularData |
ServicesMBean.list(long bundleId)
Deprecated.
use getServices() instead
|
TabularData |
ServicesMBean.list(long bundleId,
boolean inUse)
Deprecated.
use getServices() instead
|
Modifier and Type | Method and Description |
---|---|
TabularData |
ServicesMBeanImpl.getServices() |
TabularData |
ServicesMBeanImpl.getServices(boolean inUse) |
TabularData |
ServicesMBeanImpl.getServices(long bundleId) |
TabularData |
ServicesMBeanImpl.getServices(long bundleId,
boolean inUse) |
TabularData |
ServicesMBeanImpl.list() |
TabularData |
ServicesMBeanImpl.list(boolean inUse) |
TabularData |
ServicesMBeanImpl.list(long bundleId) |
TabularData |
ServicesMBeanImpl.list(long bundleId,
boolean inUse) |
Modifier and Type | Method and Description |
---|---|
void |
SystemMBean.halt()
Shutdown the Karaf instance.
|
void |
SystemMBean.halt(String time)
Shutdown the Karaf instance at a certain time.
|
void |
SystemMBean.reboot()
Reboot the Karaf instance.
|
void |
SystemMBean.reboot(String time,
boolean clean)
Reboot the Karaf instance at a certain time and eventually cleanup the instance files.
|
void |
SystemMBean.setFramework(String framework)
Change the OSGi framework to run Karaf.
|
void |
SystemMBean.setFrameworkDebug(boolean debug)
Enable or disable the debug option on the OSGi framework.
|
void |
SystemMBean.shutdown()
Deprecated.
use halt() instead.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemMBeanImpl.halt() |
void |
SystemMBeanImpl.halt(String time) |
void |
SystemMBeanImpl.reboot() |
void |
SystemMBeanImpl.reboot(String time,
boolean cleanup) |
void |
SystemMBeanImpl.setFramework(String framework) |
void |
SystemMBeanImpl.setFrameworkDebug(boolean debug) |
void |
SystemMBeanImpl.shutdown()
Deprecated.
use halt() instead.
|
Modifier and Type | Method and Description |
---|---|
TabularData |
WebMBean.list() |
Modifier and Type | Method and Description |
---|---|
TabularData |
WebMBeanImpl.list() |
Modifier and Type | Method and Description |
---|---|
void |
Activator.start(org.osgi.framework.BundleContext bundleContext) |
void |
Activator.stop(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
protected Object |
NewAction.convert(Object obj,
ReifiedType type) |
protected Object |
NewAction.convert(Object obj,
Type type) |
protected Object |
WcAction.doExecute() |
protected Object |
WatchAction.doExecute() |
protected Object |
TailAction.doExecute() |
protected Object |
TacAction.doExecute() |
protected Object |
SourceAction.doExecute() |
Object |
SortAction.doExecute() |
protected Object |
SleepAction.doExecute() |
protected Object |
PrintfAction.doExecute() |
protected Object |
NewAction.doExecute() |
protected Object |
MoreAction.doExecute() |
protected Object |
LogoutAction.doExecute() |
protected Object |
JavaAction.doExecute() |
protected Object |
InfoAction.doExecute() |
protected Object |
IfAction.doExecute() |
protected Object |
HistoryAction.doExecute() |
protected Object |
HeadAction.doExecute() |
protected Object |
GrepAction.doExecute() |
protected Object |
ExecuteAction.doExecute() |
protected Object |
EnvAction.doExecute() |
protected Object |
EditAction.doExecute() |
protected Object |
EchoAction.doExecute() |
protected Object |
EachAction.doExecute() |
protected Object |
DateAction.doExecute() |
protected Object |
ClearAction.doExecute() |
protected Object |
CatAction.doExecute() |
protected Object |
AliasAction.doExecute() |
protected void |
SortAction.read(BufferedReader r,
List<String> lines) |
protected void |
SortAction.sort(InputStream input,
PrintStream out) |
protected void |
SortAction.sort(List<String> strings,
PrintStream out) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConfigCommandSupport.deleteStorage(String pid) |
protected Object |
ConfigCommandSupport.doExecute() |
protected void |
UpdateCommand.doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected void |
ListCommand.doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected void |
EditCommand.doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected void |
DeleteCommand.doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected void |
ConfigPropertyCommandSupport.doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected abstract void |
ConfigCommandSupport.doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected void |
CancelCommand.doExecute(org.osgi.service.cm.ConfigurationAdmin admin) |
protected Dictionary<String,Object> |
ConfigPropertyCommandSupport.getEditedProps()
Retrieves confguration from the pid, if used or delegates to session from getting the configuration.
|
protected Dictionary<String,Object> |
ConfigCommandSupport.getEditedProps() |
Modifier and Type | Class and Description |
---|---|
class |
CloseShellException
Exception thrown to indicate the console to close.
|
class |
MultiException |
Modifier and Type | Method and Description |
---|---|
void |
MultiException.addException(Exception e) |
Modifier and Type | Method and Description |
---|---|
static void |
MultiException.throwIf(String message,
List<Exception> exceptions) |
Modifier and Type | Method and Description |
---|---|
Object |
Converters.convert(Class<?> desiredType,
Object in) |
protected Console |
Main.createConsole(CommandProcessorImpl commandProcessor,
org.apache.felix.service.threadio.ThreadIO threadIO,
InputStream in,
PrintStream out,
PrintStream err,
jline.Terminal terminal)
Allow sub classes of main to change the Console implementation used.
|
protected abstract Object |
AbstractAction.doExecute() |
Object |
OsgiCommandSupport.execute(org.apache.felix.service.command.CommandSession session) |
Object |
AbstractAction.execute(org.apache.felix.service.command.CommandSession session) |
protected <T> List<T> |
OsgiCommandSupport.getAllServices(Class<T> clazz,
String filter) |
static void |
Main.main(String[] args) |
void |
Main.run(org.apache.felix.service.command.CommandSession parent,
org.apache.felix.service.threadio.ThreadIO threadIO,
String[] args)
Use this method when the shell is being executed as a command
of another shell.
|
void |
Main.run(String[] args)
Use this method when the shell is being executed as a top level shell.
|
Constructor and Description |
---|
MultiException(String message,
List<Exception> exceptions) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BlueprintCommand.BlueprintActionPreparator.convert(Action action,
org.apache.felix.service.command.CommandSession commandSession,
Object o,
Type type) |
protected ActionPreparator |
BlueprintCommand.getPreparator() |
Modifier and Type | Method and Description |
---|---|
Object |
HelpAction.doExecute() |
Modifier and Type | Method and Description |
---|---|
void |
LoggingCommandSessionListener.afterExecute(org.apache.felix.service.command.CommandSession session,
CharSequence command,
Exception exception) |
Modifier and Type | Method and Description |
---|---|
void |
TerminalFactory.destroy() |
protected void |
ConsoleFactory.doStart(String user) |
jline.Terminal |
TerminalFactory.getTerminal() |
void |
TerminalFactory.init() |
static Object |
ConsoleFactory.invokePrivateMethod(Object o,
String methodName,
Object[] params) |
void |
ConsoleFactory.registerCommandProcessor(org.apache.felix.service.command.CommandProcessor commandProcessor) |
void |
ConsoleFactory.start() |
void |
ConsoleFactory.stop() |
void |
ConsoleFactory.unregisterCommandProcessor(org.apache.felix.service.command.CommandProcessor commandProcessor) |
Constructor and Description |
---|
Console(org.apache.felix.service.command.CommandProcessor processor,
org.apache.felix.service.threadio.ThreadIO threadIO,
InputStream in,
PrintStream out,
PrintStream err,
jline.Terminal term,
String encoding,
Runnable closeCallback,
org.osgi.framework.BundleContext bc) |
Modifier and Type | Method and Description |
---|---|
protected Object |
Watch.doExecute() |
protected Object |
WaitForService.doExecute() |
protected Object |
Threads.doExecute() |
protected Object |
SystemProperty.doExecute() |
protected Object |
Restart.doExecute() |
protected Object |
PrintStackTraces.doExecute() |
protected Object |
LoadTest.doExecute() |
protected Object |
FrameworkOptions.doExecute() |
protected Object |
AbstractBundleCommand.doExecute() |
protected void |
ShowBundleTree.doExecute(org.osgi.framework.Bundle bundle) |
protected void |
DynamicImport.doExecute(org.osgi.framework.Bundle bundle) |
protected abstract void |
AbstractBundleCommand.doExecute(org.osgi.framework.Bundle bundle) |
Modifier and Type | Method and Description |
---|---|
protected Object |
SetLogLevel.doExecute() |
protected Object |
LogTail.doExecute() |
protected Object |
GetLogLevel.doExecute() |
protected Object |
DisplayLog.doExecute() |
protected Object |
DisplayException.doExecute() |
protected Object |
ClearLog.doExecute() |
Modifier and Type | Method and Description |
---|---|
protected void |
ObrCommandSupport.doDeploy(org.apache.felix.bundlerepository.RepositoryAdmin admin,
List<String> bundles,
boolean start,
boolean deployOptional) |
protected Object |
ObrCommandSupport.doExecute() |
protected void |
StartCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
SourceCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
ResolveCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
RemoveUrlCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
RefreshUrlCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected abstract void |
ObrCommandSupport.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
ListCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
InfoCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
FindCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
DeployCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
AddUrlCommand.doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
Modifier and Type | Method and Description |
---|---|
void |
SpringStateListenerFactory.destroy() |
void |
SpringStateListenerFactory.Destroyable.destroy() |
void |
SpringStateListenerFactory.SpringApplicationListener.destroy() |
void |
BlueprintListener.destroy() |
Object |
Version.doExecute() |
protected Object |
StartLevel.doExecute() |
protected Object |
Shutdown.doExecute() |
protected Object |
Name.doExecute() |
protected Object |
ListBundles.doExecute() |
protected Object |
InstallBundle.doExecute() |
protected Object |
Id.doExecute() |
protected Object |
FindClass.doExecute() |
protected Object |
BundlesCommandOptional.doExecute() |
protected Object |
BundlesCommand.doExecute() |
protected Object |
BundleCommand.doExecute() |
protected Object |
Id.doExecute(boolean force) |
protected void |
UpdateBundle.doExecute(org.osgi.framework.Bundle bundle) |
protected void |
BundleLevel.doExecute(org.osgi.framework.Bundle bundle) |
protected abstract void |
BundleCommand.doExecute(org.osgi.framework.Bundle bundle) |
protected void |
UninstallBundle.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
StopBundle.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
StartBundle.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
RestartBundle.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
ResolveBundle.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
RefreshBundle.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
ListServices.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
ListBundleServices.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
Info.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
Headers.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected void |
Classes.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected abstract void |
BundlesCommandOptional.doExecute(List<org.osgi.framework.Bundle> bundles) |
protected abstract void |
BundlesCommand.doExecute(List<org.osgi.framework.Bundle> bundles) |
org.osgi.framework.Bundle |
BundleSelector.getBundle(String id,
boolean force)
Get a bundle by ID, or name, or name/version.
|
void |
BlueprintListener.init() |
List<org.osgi.framework.Bundle> |
BundleSelector.selectBundles(List<String> ids,
boolean force) |
Modifier and Type | Method and Description |
---|---|
protected Object |
PackageCommandSupport.doExecute() |
protected abstract void |
PackageCommandSupport.doExecute(org.osgi.service.packageadmin.PackageAdmin admin) |
protected void |
ImportsCommand.doExecute(org.osgi.service.packageadmin.PackageAdmin admin) |
protected void |
ExportsCommand.doExecute(org.osgi.service.packageadmin.PackageAdmin admin) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ScrActionSupport.doExecute() |
protected Object |
DeactivateAction.doScrAction(org.apache.felix.scr.ScrService scrService) |
protected Object |
ActivateAction.doScrAction(org.apache.felix.scr.ScrService scrService) |
protected Object |
ListAction.doScrAction(org.apache.felix.scr.ScrService scrService) |
protected Object |
DetailsAction.doScrAction(org.apache.felix.scr.ScrService scrService) |
protected abstract Object |
ScrActionSupport.doScrAction(org.apache.felix.scr.ScrService scrService) |
Modifier and Type | Method and Description |
---|---|
boolean |
DeactivateCompleter.availableComponent(org.apache.felix.scr.Component component)
Overrides the super method noted below.
|
boolean |
DetailsCompleter.availableComponent(org.apache.felix.scr.Component component)
Overrides the super method noted below.
|
abstract boolean |
ScrCompleterSupport.availableComponent(org.apache.felix.scr.Component component) |
boolean |
ActivateCompleter.availableComponent(org.apache.felix.scr.Component component)
Overrides the super method noted below.
|
Modifier and Type | Method and Description |
---|---|
void |
SecuredCommandConfigTransformer.init() |
Modifier and Type | Method and Description |
---|---|
Object |
UserAuthFactoriesFactory.Converter.convert(Object sourceObject,
org.osgi.service.blueprint.container.ReifiedType targetType) |
Object |
ShellFactoryImpl.Converter.convert(Object sourceObject,
org.osgi.service.blueprint.container.ReifiedType targetType) |
protected Object |
SshServerAction.doExecute() |
protected Object |
SshAction.doExecute() |
void |
SshTerminal.init() |
void |
SshTerminal.restore() |
Modifier and Type | Method and Description |
---|---|
Exception |
StreamPumper.getException()
Get the exception encountered, if any.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
InstallCommand.doExecute() |
Modifier and Type | Method and Description |
---|---|
Object |
CmdHelpMojo.HelpPrinter.DummyCommandSession.execute(CharSequence commandline) |
String |
CmdHelpMojo.HelpPrinter.printHelp(String format,
boolean includeHelpOption) |
Modifier and Type | Method and Description |
---|---|
String[] |
AddFeaturesToRepoMojo.Repository.getDefinedRepositories() |
AddFeaturesToRepoMojo.Feature[] |
AddFeaturesToRepoMojo.Repository.getFeatures() |
Modifier and Type | Method and Description |
---|---|
void |
WebTerminal.init() |
void |
WebTerminal.restore() |
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.