A B C D E F G H I K L M N O P R S T U V W 

A

Activator - Class in org.apache.ace.agent.impl
Bundle activator for ACE management agent.
Activator() - Constructor for class org.apache.ace.agent.impl.Activator
 
Activator - Class in org.apache.ace.agent.updater
This class is dynamically deployed as part of the updater bundle that executes the update of the management agent.
Activator() - Constructor for class org.apache.ace.agent.updater.Activator
 
Activator.InternalThreadFactory - Class in org.apache.ace.agent.impl
Internal thread factory that assigns recognizable names to the threads it creates and sets them in daemon mode.
Activator.InternalThreadFactory() - Constructor for class org.apache.ace.agent.impl.Activator.InternalThreadFactory
 
addComponent(Object) - Method in class org.apache.ace.agent.impl.AgentContextImpl
Adds a component to this context.
addDependency(Class<?>, String, DependencyTrackerImpl.DependencyCallback) - Method in class org.apache.ace.agent.impl.DependencyTrackerImpl
Adds a dependency to track.
addListener(EventListener) - Method in interface org.apache.ace.agent.EventsHandler
Add a listener.
addListener(EventListener) - Method in class org.apache.ace.agent.impl.EventsHandlerImpl
 
AGENT_INSTALLATION_COMPLETE - Static variable in interface org.apache.ace.agent.impl.InternalConstants
Internal event topic used by the default controller to fire events when the installation of a deployment package or agent update is complete (either or not successful).
AGENT_INSTALLATION_START - Static variable in interface org.apache.ace.agent.impl.InternalConstants
Internal event topic used by the default controller to fire events when the installation of a deployment package or agent update is started.
AgentConstants - Interface in org.apache.ace.agent
Compile time constants for this package.
AgentContext - Interface in org.apache.ace.agent
Internal interface that provides access to handlers, supporting services and static configuration.
AgentContextAware - Interface in org.apache.ace.agent
Providers interface for (extension) components.
AgentContextImpl - Class in org.apache.ace.agent.impl
Implementation of the internal agent context service.
AgentContextImpl(File) - Constructor for class org.apache.ace.agent.impl.AgentContextImpl
 
AgentControl - Interface in org.apache.ace.agent
The agent's control (service) interface.
AgentControlImpl - Class in org.apache.ace.agent.impl
Implementation of the public agent control service.
AgentControlImpl(AgentContext) - Constructor for class org.apache.ace.agent.impl.AgentControlImpl
 
AgentUpdateHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for managing agent updates.
AgentUpdateHandlerImpl - Class in org.apache.ace.agent.impl
Default implementation of AgentUpdateHandler.
AgentUpdateHandlerImpl(BundleContext) - Constructor for class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
append(long, byte[]) - Method in class org.apache.ace.agent.impl.FeedbackStore
Store the given record data as the next record.
AUDITLOG_FEEDBACK_CHANNEL - Static variable in interface org.apache.ace.agent.impl.InternalConstants
The feedback channel for reporting the audit events of a target.

B

bundleChanged(BundleEvent) - Method in class org.apache.ace.agent.impl.EventLoggerImpl
 

C

close() - Method in class org.apache.ace.agent.impl.FeedbackStore
Release all resources.
close() - Method in class org.apache.ace.agent.impl.FeedbackStoreManager
Close the current active store to make sure it's nice and consistent on disk
CODE_BAD_HEADER - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_BUNDLE_NAME_ERROR - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_BUNDLE_SHARING_VIOLATION - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_CANCELLED - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_COMMIT_ERROR - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_FOREIGN_CUSTOMIZER - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_MISSING_BUNDLE - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_MISSING_FIXPACK_TARGET - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_MISSING_HEADER - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_MISSING_RESOURCE - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_NOT_A_JAR - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_ORDER_ERROR - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_OTHER_ERROR - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_PROCESSOR_NOT_FOUND - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_RESOURCE_SHARING_VIOLATION - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_SIGNING_ERROR - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
CODE_TIMEOUT - Static variable in exception org.apache.ace.agent.InstallationFailedException
 
compareTo(FeedbackStore.Record) - Method in class org.apache.ace.agent.impl.FeedbackStore.Record
 
ComponentBase - Class in org.apache.ace.agent.impl
Convenience implementation base class for all AgentContextAware components, such as handlers & controllers.
ComponentBase(String) - Constructor for class org.apache.ace.agent.impl.ComponentBase
 
componentStarted(BundleContext) - Method in class org.apache.ace.agent.impl.Activator
Called by our DependencyTrackerImpl when all dependencies are satisfied.
componentStopped(BundleContext) - Method in class org.apache.ace.agent.impl.Activator
Called by our DependencyTrackerImpl when one or more dependencies are no longer satisfied.
CONFIG_CONNECTION_AUTHTYPE - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration auth type for the default ConnectionHandler.
CONFIG_CONNECTION_DISABLED - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to disable the default ConnectionHandler.
CONFIG_CONNECTION_KEYFILE - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the client-cert authentication keystore path for the default ConnectionHandler .
CONFIG_CONNECTION_KEYPASS - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the client-cert authentication keystore password for the default ConnectionHandler.
CONFIG_CONNECTION_PASSWORD - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the basic authentication password for the default ConnectionHandler.
CONFIG_CONNECTION_SSL_PROTOCOL - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the client-cert protocol for the default ConnectionHandler.
CONFIG_CONNECTION_TRUSTFILE - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the client-cert authentication truststore path for the default ConnectionHandler.
CONFIG_CONNECTION_TRUSTPASS - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the client-cert authentication truststore password for the default ConnectionHandler.
CONFIG_CONNECTION_USERNAME - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the basic authentication username for the default ConnectionHandler.
CONFIG_CONTROLLER_CLASS - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to override the default controller with another implementation.
CONFIG_CONTROLLER_FIXPACKAGES - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set fixpackages behavior of the default controller.
CONFIG_CONTROLLER_RETRIES - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set retries behavior of the default controller.
CONFIG_CONTROLLER_STREAMING - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set streaming behavior of the default controller.
CONFIG_CONTROLLER_SYNCDELAY - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set initial sync delay seconds of the default controller.
CONFIG_CONTROLLER_SYNCINTERVAL - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set initial sync interval seconds of the default controller.
CONFIG_DEFAULT_AGENTID - Static variable in class org.apache.ace.agent.impl.IdentificationHandlerImpl
Default name to use for a new target.
CONFIG_DISCOVERY_CHECKING - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to enable checking for the default discovery handler.
CONFIG_DISCOVERY_DISABLED - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to disable the default discovery handler.
CONFIG_DISCOVERY_SERVERURLS - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option for the serverURLs of the default discovery handler.
CONFIG_FEEDBACK_CHANNELS - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to set the feedback channels for the default FeedbackHandler.
CONFIG_IDENTIFICATION_AGENTID - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option for the agentid of the default identification handler.
CONFIG_IDENTIFICATION_DISABLED - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration option to disable the default identification handler.
CONFIG_KEY_NAMESPACE - Static variable in interface org.apache.ace.agent.AgentConstants
Namespace for all agent configuration property
CONFIG_LOGGING_EXCLUDE_EVENTS - Static variable in interface org.apache.ace.agent.AgentConstants
Exclude list for auditlog events.
CONFIG_LOGGING_LEVEL - Static variable in interface org.apache.ace.agent.AgentConstants
Configuration loglevel for default logger.
CONFIG_STORAGE_FILENAME - Static variable in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
File name use for storage.
CONFIG_STORAGE_SUBDIR - Static variable in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
Directory name use for storage.
ConfigurationHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for managing persisted configuration.
ConfigurationHandlerImpl - Class in org.apache.ace.agent.impl
Default thread-safe ConfigurationHandler implementation.
ConfigurationHandlerImpl(BundleContext) - Constructor for class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
ConnectionHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for opening connection.
ConnectionHandler.Types - Enum in org.apache.ace.agent
Supported authentication types.
ConnectionHandlerImpl - Class in org.apache.ace.agent.impl
Default thread-safe ConnectionHandler implementation with support for BASIC authentication and HTTPS client certificates.
ConnectionHandlerImpl() - Constructor for class org.apache.ace.agent.impl.ConnectionHandlerImpl
 
copy(InputStream, OutputStream) - Method in class org.apache.ace.agent.updater.Activator
 

D

DefaultController - Class in org.apache.ace.agent.impl
Default configurable controller
DefaultController() - Constructor for class org.apache.ace.agent.impl.DefaultController
 
DependencyTrackerImpl - Class in org.apache.ace.agent.impl
Simple service dependency tracker that tracks a number of required dependencies and provides life-cycle.
DependencyTrackerImpl(BundleContext, DependencyTrackerImpl.LifecycleCallback) - Constructor for class org.apache.ace.agent.impl.DependencyTrackerImpl
Creates a new DependencyTrackerImpl instance.
DeploymentHandler - Interface in org.apache.ace.agent
Agent context delegate interface that provides the deployment functions.
DeploymentHandlerImpl - Class in org.apache.ace.agent.impl
 
DeploymentHandlerImpl(BundleContext, PackageAdmin) - Constructor for class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
discard() - Method in interface org.apache.ace.agent.DownloadHandle
Releases any resources that may be held by the handle.
DiscoveryHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for discovering servers.
DiscoveryHandlerImpl - Class in org.apache.ace.agent.impl
Default DiscoveryHandler implementation that reads the serverURL(s) from the configuration using key CONFIG_DISCOVERY_SERVERURLS.
DiscoveryHandlerImpl() - Constructor for class org.apache.ace.agent.impl.DiscoveryHandlerImpl
 
DownloadHandle - Interface in org.apache.ace.agent
A DownloadHandle provides control over an asynchronous download and access to the resulting file when the it is completed.
DownloadHandle.DownloadProgressListener - Interface in org.apache.ace.agent
Callback interface; when registered the completed method will be invoked when the download terminates for any reason.
DownloadHandler - Interface in org.apache.ace.agent
Service interface for downloading content from a particular URL.
DownloadHandlerImpl - Class in org.apache.ace.agent.impl
 
DownloadHandlerImpl(File) - Constructor for class org.apache.ace.agent.impl.DownloadHandlerImpl
 
DownloadResult - Interface in org.apache.ace.agent
Represents the result of a download task.
DownloadResultImpl - Class in org.apache.ace.agent.impl
Default, non thread-safe, implementation of DownloadResult.
DownloadState - Enum in org.apache.ace.agent
The state of a download handle that completed.

E

EVENT_AGENT_CONFIG_CHANGED - Static variable in interface org.apache.ace.agent.AgentConstants
Event topic used to report changes in the agent's configuration.
EVENT_DEPLOYMENT_COMPLETE - Static variable in interface org.apache.ace.agent.AgentConstants
Event topic for deployment install events, as used by the deployment admin service.
EVENT_DEPLOYMENT_INSTALL - Static variable in interface org.apache.ace.agent.AgentConstants
Event topic for deployment install events, as used by the deployment admin service.
EVENT_DEPLOYMENT_UNINSTALL - Static variable in interface org.apache.ace.agent.AgentConstants
Event topic for deployment uninstall events, as used by the deployment admin service.
EventListener - Interface in org.apache.ace.agent
Listener interface for consumers that wish to be notified of agent events.
EVENTLOGGER_FEEDBACKCHANNEL - Static variable in class org.apache.ace.agent.impl.EventLoggerImpl
 
EventLoggerImpl - Class in org.apache.ace.agent.impl
Service component that listens for various events from the OSGi framework and writes those events to the audit log feedback channel.
EventLoggerImpl(BundleContext) - Constructor for class org.apache.ace.agent.impl.EventLoggerImpl
 
EventsHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for handling events.
EventsHandlerImpl - Class in org.apache.ace.agent.impl
Default thread-safe EventsHandler implementation that tracks external EventListener.class services.
EventsHandlerImpl(BundleContext) - Constructor for class org.apache.ace.agent.impl.EventsHandlerImpl
 

F

FeedbackChannel - Interface in org.apache.ace.agent
Represents a channel on which feedback information can be reported back to the server.
FeedbackChannelImpl - Class in org.apache.ace.agent.impl
FeedbackChannel implementation
FeedbackChannelImpl(AgentContext, String) - Constructor for class org.apache.ace.agent.impl.FeedbackChannelImpl
 
FeedbackHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for handling feedback channels.
FeedbackHandlerImpl - Class in org.apache.ace.agent.impl
Default implementation of the feedback handler.
FeedbackHandlerImpl() - Constructor for class org.apache.ace.agent.impl.FeedbackHandlerImpl
 
FeedbackStore - Class in org.apache.ace.agent.impl
The general idea is to provide easy access to a file of records.
FeedbackStore.Record - Class in org.apache.ace.agent.impl
Denotes a single record stored in a FeedbackStore.
FeedbackStore.Record(long, byte[]) - Constructor for class org.apache.ace.agent.impl.FeedbackStore.Record
Creates a new FeedbackStore.Record instance.
FeedbackStoreManager - Class in org.apache.ace.agent.impl
This class acts as a factory for retrieving/creating stores and it also is an adapter for the feedbackstore that is currently active.
FeedbackStoreManager(AgentContext, String) - Constructor for class org.apache.ace.agent.impl.FeedbackStoreManager
Create and initialize a store based on a default maxFileSize of 1024 kB (=1 MB)
FeedbackStoreManager(AgentContext, String, int, int) - Constructor for class org.apache.ace.agent.impl.FeedbackStoreManager
Create and initialize a store
frameworkEvent(FrameworkEvent) - Method in class org.apache.ace.agent.impl.EventLoggerImpl
 

G

get(String, String) - Method in interface org.apache.ace.agent.ConfigurationHandler
Retrieve the configuration value associated with the key, or the specified default.
get(String, String) - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
getAgentContext() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getAgentId() - Method in interface org.apache.ace.agent.AgentControl
Returns the agent's identifier
getAgentId() - Method in interface org.apache.ace.agent.IdentificationHandler
Return the agent identification.
getAgentId() - Method in class org.apache.ace.agent.impl.AgentControlImpl
 
getAgentId() - Method in class org.apache.ace.agent.impl.IdentificationHandlerImpl
 
getAgentUpdateHandler() - Method in interface org.apache.ace.agent.AgentControl
Returns the update handler
getAgentUpdateHandler() - Method in class org.apache.ace.agent.impl.AgentControlImpl
 
getAgentUpdateHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getAllFeedbackStoreIDs() - Method in class org.apache.ace.agent.impl.FeedbackStoreManager
Return a sorted set of all the feedback stores
getAvailableVersions() - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
getAvailableVersions() - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
getAvailableVersions() - Method in interface org.apache.ace.agent.UpdateHandler
Return the sorted set of available update-versions as reported by the server.
getBackoffTime() - Method in exception org.apache.ace.agent.RetryAfterException
Returns the time to "back off" from accessing the server.
getBoolean(String, boolean) - Method in interface org.apache.ace.agent.ConfigurationHandler
Retrieve the configuration value associated with the key, or the specified default.
getBoolean(String, boolean) - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
getBundleContext() - Method in class org.apache.ace.agent.impl.DependencyTrackerImpl
 
getChannel(String) - Method in interface org.apache.ace.agent.FeedbackHandler
Returns the feedback channel for a name
getChannel(String) - Method in class org.apache.ace.agent.impl.FeedbackHandlerImpl
 
getChannelNames() - Method in interface org.apache.ace.agent.FeedbackHandler
Returns the feedback channels names
getChannelNames() - Method in class org.apache.ace.agent.impl.FeedbackHandlerImpl
 
getCode() - Method in exception org.apache.ace.agent.InstallationFailedException
 
getConfigurationHandler() - Method in interface org.apache.ace.agent.AgentControl
Returns the configuration handler
getConfigurationHandler() - Method in class org.apache.ace.agent.impl.AgentControlImpl
 
getConfigurationHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getConnection(URL) - Method in interface org.apache.ace.agent.ConnectionHandler
Return a connection for the specified url.
getConnection(URL) - Method in class org.apache.ace.agent.impl.ConnectionHandlerImpl
 
getConnectionHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getDataLocation() - Method in class org.apache.ace.agent.impl.DownloadHandlerImpl
 
getDeploymentHandler() - Method in interface org.apache.ace.agent.AgentControl
Returns the deployment handler
getDeploymentHandler() - Method in class org.apache.ace.agent.impl.AgentControlImpl
 
getDeploymentHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getDiscoveryHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getDownloadHandle(Version, boolean) - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
getDownloadHandle(Version, boolean) - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
getDownloadHandle(Version, boolean) - Method in interface org.apache.ace.agent.UpdateHandler
Return the DownloadHandle for an update.
getDownloadHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getEvents(long, long, long) - Method in class org.apache.ace.agent.impl.FeedbackStoreManager
Return all events in the store in the given range.
getEventsHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getExecutorService() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getFeedbackHandler() - Method in interface org.apache.ace.agent.AgentControl
Returns the feedback handler
getFeedbackHandler() - Method in class org.apache.ace.agent.impl.AgentControlImpl
 
getFeedbackHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getFileSize() - Method in class org.apache.ace.agent.impl.FeedbackStore
Return the filesize for this file
getFirstEventID() - Method in class org.apache.ace.agent.impl.FeedbackStore
Get the ID of the first written event record, which is most of the times the first event record.
getHandle(URL) - Method in interface org.apache.ace.agent.DownloadHandler
Returns a DownloadHandle for a given URL.
getHandle(URL) - Method in class org.apache.ace.agent.impl.DownloadHandlerImpl
 
getHandler(Class<T>) - Method in interface org.apache.ace.agent.AgentContext
Return the handler for a specified interface.
getHandler(Class<T>) - Method in class org.apache.ace.agent.impl.AgentContextImpl
 
getHighestAvailableVersion() - Method in interface org.apache.ace.agent.UpdateHandler
Returns the highest available update-version as reported by the server.
getHighestEventID(long) - Method in class org.apache.ace.agent.impl.FeedbackStoreManager
Give the highest eventId that is is present is the specified store
getId() - Method in class org.apache.ace.agent.impl.FeedbackStore
Get the log id of this store.
getIdentificationHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getInputStream() - Method in interface org.apache.ace.agent.DownloadResult
Returns an input stream to the downloaded result.
getInputStream(Version, boolean) - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
getInputStream(Version, boolean) - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
getInputStream() - Method in class org.apache.ace.agent.impl.DownloadResultImpl
 
getInputStream(Version, boolean) - Method in interface org.apache.ace.agent.UpdateHandler
Returns the InputStream for an update.
getInstalledVersion() - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
getInstalledVersion() - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
getInstalledVersion() - Method in interface org.apache.ace.agent.UpdateHandler
Return version of the current installed update for this agent.
getInt(String, int) - Method in interface org.apache.ace.agent.ConfigurationHandler
Retrieve the configuration value associated with the key, or the specified default.
getInt(String, int) - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
getLastEventID() - Method in class org.apache.ace.agent.impl.FeedbackStore
Get the ID of the last written event record, which is most of the times the current event record.
getLoggingHandler() - Method in class org.apache.ace.agent.impl.ComponentBase
 
getLogLevel() - Method in enum org.apache.ace.agent.LoggingHandler.Levels
 
getLong(String, long) - Method in interface org.apache.ace.agent.ConfigurationHandler
Retrieve the configuration value associated with the key, or the specified default.
getLong(String, long) - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
getName() - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
getName() - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
getName() - Method in interface org.apache.ace.agent.UpdateHandler
 
getOriginalMessage() - Method in exception org.apache.ace.agent.InstallationFailedException
 
getReason() - Method in exception org.apache.ace.agent.InstallationFailedException
 
getRecords(long, long) - Method in class org.apache.ace.agent.impl.FeedbackStore
 
getServerUrl() - Method in interface org.apache.ace.agent.DiscoveryHandler
Return a server base URL.
getServerUrl() - Method in class org.apache.ace.agent.impl.DiscoveryHandlerImpl
Returns the first available URL from a the ordered list of the configured server URLs.
getSize(Version, boolean) - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
getSize(Version, boolean) - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
getSize(Version, boolean) - Method in interface org.apache.ace.agent.UpdateHandler
Return the estimated size for an update as reported by the server.
getWorkDir() - Method in interface org.apache.ace.agent.AgentContext
Return the work directory.
getWorkDir() - Method in class org.apache.ace.agent.impl.AgentContextImpl
 
getWorkDir() - Method in class org.apache.ace.agent.impl.ComponentBase
 

H

handle(String, Map<String, String>) - Method in interface org.apache.ace.agent.EventListener
Event callback.
handle(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.ConnectionHandlerImpl
 
handle(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.DefaultController
 
handle(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.DiscoveryHandlerImpl
 
handle(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.EventLoggerImpl
 
handle(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.FeedbackHandlerImpl
 
handle(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.LoggingHandlerImpl
 
HEADER_DPSIZE - Static variable in interface org.apache.ace.agent.AgentConstants
HTTP header name used for Deployment Package size estimate, in bytes.

I

IdentificationHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for target identification.
IdentificationHandlerImpl - Class in org.apache.ace.agent.impl
Default identification handler that reads the identity from the configuration using key IDENTIFICATION_CONFIG_KEY.
IdentificationHandlerImpl() - Constructor for class org.apache.ace.agent.impl.IdentificationHandlerImpl
 
init(AgentContext) - Method in interface org.apache.ace.agent.AgentContextAware
Called when the agent context is initializing, and is called before AgentContextAware.start(AgentContext).
init(AgentContext) - Method in class org.apache.ace.agent.impl.ComponentBase
 
install(InputStream) - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
install(InputStream) - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
install(InputStream) - Method in interface org.apache.ace.agent.UpdateHandler
Install an update from an input stream.
InstallationFailedException - Exception in org.apache.ace.agent
Generic exception that is thrown when an installation of an update failed.
InstallationFailedException(String, DeploymentException) - Constructor for exception org.apache.ace.agent.InstallationFailedException
Creates a new InstallationFailedException instance.
InternalConstants - Interface in org.apache.ace.agent.impl
Represents internal constants.
isComplete() - Method in interface org.apache.ace.agent.DownloadResult
 
isComplete() - Method in class org.apache.ace.agent.impl.DownloadResultImpl
 

K

keySet() - Method in interface org.apache.ace.agent.ConfigurationHandler
Deprecated.
do not use, no replacement.
keySet() - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
KNOWN_HANDLERS - Static variable in class org.apache.ace.agent.impl.AgentContextImpl
 

L

logDebug(String, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logDebug(String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logDebug(String, String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.LoggingHandlerImpl
 
logDebug(String, String, Throwable, Object...) - Method in interface org.apache.ace.agent.LoggingHandler
Log an debug message.
logError(String, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logError(String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logError(String, String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.LoggingHandlerImpl
 
logError(String, String, Throwable, Object...) - Method in interface org.apache.ace.agent.LoggingHandler
Log an error message.
LoggingHandler - Interface in org.apache.ace.agent
Agent context delegate interface that is responsible for logging.
LoggingHandler.Levels - Enum in org.apache.ace.agent
 
LoggingHandlerImpl - Class in org.apache.ace.agent.impl
Default thread-safe LoggingHandler implementation that logs messages to System.out .
LoggingHandlerImpl(BundleContext) - Constructor for class org.apache.ace.agent.impl.LoggingHandlerImpl
 
LoggingHandlerImpl(BundleContext, LoggingHandler.Levels) - Constructor for class org.apache.ace.agent.impl.LoggingHandlerImpl
 
logInfo(String, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logInfo(String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logInfo(String, String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.LoggingHandlerImpl
 
logInfo(String, String, Throwable, Object...) - Method in interface org.apache.ace.agent.LoggingHandler
Log an info message.
logWarning(String, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logWarning(String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.ComponentBase
 
logWarning(String, String, Throwable, Object...) - Method in class org.apache.ace.agent.impl.LoggingHandlerImpl
 
logWarning(String, String, Throwable, Object...) - Method in interface org.apache.ace.agent.LoggingHandler
Log an warning message.

M

m_entry - Variable in class org.apache.ace.agent.impl.FeedbackStore.Record
 
m_id - Variable in class org.apache.ace.agent.impl.FeedbackStore.Record
 

N

newThread(Runnable) - Method in class org.apache.ace.agent.impl.Activator.InternalThreadFactory
 

O

onInit() - Method in class org.apache.ace.agent.impl.ComponentBase
 
onInit() - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
onInit() - Method in class org.apache.ace.agent.impl.ConnectionHandlerImpl
 
onInit() - Method in class org.apache.ace.agent.impl.DefaultController
 
onInit() - Method in class org.apache.ace.agent.impl.DiscoveryHandlerImpl
 
onInit() - Method in class org.apache.ace.agent.impl.EventLoggerImpl
 
onInit() - Method in class org.apache.ace.agent.impl.EventsHandlerImpl
 
onInit() - Method in class org.apache.ace.agent.impl.FeedbackHandlerImpl
 
onInit() - Method in class org.apache.ace.agent.impl.LoggingHandlerImpl
 
onStart() - Method in class org.apache.ace.agent.impl.AgentUpdateHandlerImpl
 
onStart() - Method in class org.apache.ace.agent.impl.ComponentBase
 
onStart() - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
onStart() - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
onStart() - Method in class org.apache.ace.agent.impl.EventLoggerImpl
 
onStart() - Method in class org.apache.ace.agent.impl.FeedbackHandlerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.ComponentBase
 
onStop() - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.ConnectionHandlerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.DefaultController
 
onStop() - Method in class org.apache.ace.agent.impl.DeploymentHandlerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.DiscoveryHandlerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.EventLoggerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.EventsHandlerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.FeedbackHandlerImpl
 
onStop() - Method in class org.apache.ace.agent.impl.LoggingHandlerImpl
 
org.apache.ace.agent - package org.apache.ace.agent
 
org.apache.ace.agent.impl - package org.apache.ace.agent.impl
 
org.apache.ace.agent.updater - package org.apache.ace.agent.updater
 

P

parseType(String) - Static method in enum org.apache.ace.agent.ConnectionHandler.Types
 
postEvent(String, Map<String, String>) - Method in interface org.apache.ace.agent.EventsHandler
Post an event asynchronously.
postEvent(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.EventsHandlerImpl
 
progress(long) - Method in interface org.apache.ace.agent.DownloadHandle.DownloadProgressListener
Called while downloading the content stream.
putAll(Map<String, String>) - Method in interface org.apache.ace.agent.ConfigurationHandler
Store a configuration value.
putAll(Map<String, String>) - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
 

R

removeListener(EventListener) - Method in interface org.apache.ace.agent.EventsHandler
Remove a listener.
removeListener(EventListener) - Method in class org.apache.ace.agent.impl.EventsHandlerImpl
 
RetryAfterException - Exception in org.apache.ace.agent
Exception that indicates that the upstream server responded with a Retry-After.
RetryAfterException(int) - Constructor for exception org.apache.ace.agent.RetryAfterException
 
run() - Method in class org.apache.ace.agent.impl.ConfigurationHandlerImpl
Called by ResettableTimer when a certain timeout has exceeded.
run() - Method in class org.apache.ace.agent.impl.DefaultController
 
run() - Method in class org.apache.ace.agent.updater.Activator
 

S

sendDeploymentCompletedEvent(DefaultController.UpdateInfo, boolean, Throwable) - Method in class org.apache.ace.agent.impl.DefaultController
 
sendDeploymentInstallEvent(DefaultController.UpdateInfo) - Method in class org.apache.ace.agent.impl.DefaultController
 
sendEvent(String, Map<String, String>) - Method in interface org.apache.ace.agent.EventsHandler
Post an event synchronously.
sendEvent(String, Map<String, String>) - Method in class org.apache.ace.agent.impl.EventsHandlerImpl
 
sendFeedback() - Method in interface org.apache.ace.agent.FeedbackChannel
Synchronizes the current feedback with the server(s), ensuring that those servers have the same (snapshot of) feedback data as the agent currently has.
sendFeedback() - Method in class org.apache.ace.agent.impl.FeedbackChannelImpl
 
setController(Object) - Method in class org.apache.ace.agent.impl.AgentContextImpl
Sets the controller to use for the agent.
setHandler(Class<T>, T) - Method in class org.apache.ace.agent.impl.AgentContextImpl
Set a handler on the context.
start(AgentContext) - Method in interface org.apache.ace.agent.AgentContextAware
Called when the agent context is started.
start(DownloadHandle.DownloadProgressListener) - Method in interface org.apache.ace.agent.DownloadHandle
Starts the download, reporting the result and progress to the supplied listeners.
start(BundleContext) - Method in class org.apache.ace.agent.impl.Activator
Called by OSGi framework when starting this bundle.
start() - Method in class org.apache.ace.agent.impl.AgentContextImpl
Start the context.
start(AgentContext) - Method in class org.apache.ace.agent.impl.ComponentBase
 
start(BundleContext) - Method in class org.apache.ace.agent.updater.Activator
 
startTracking() - Method in class org.apache.ace.agent.impl.DependencyTrackerImpl
Starts tracking all dependencies, if all dependencies are satisfied, LifecycleCallback#componentStarted(BundleContext) will be called.
stop() - Method in interface org.apache.ace.agent.AgentContextAware
Called when the agent context is stopped.
stop() - Method in interface org.apache.ace.agent.DownloadHandle
Pauses the download.
stop(BundleContext) - Method in class org.apache.ace.agent.impl.Activator
Called by OSGi framework when stopping this bundle.
stop() - Method in class org.apache.ace.agent.impl.AgentContextImpl
Stop the context.
stop() - Method in class org.apache.ace.agent.impl.ComponentBase
 
stop() - Method in class org.apache.ace.agent.impl.FeedbackChannelImpl
 
stop(BundleContext) - Method in class org.apache.ace.agent.updater.Activator
 
stopTracking() - Method in class org.apache.ace.agent.impl.DependencyTrackerImpl
Stops tracking of dependencies.

T

TOPIC_COMPLETE - Static variable in class org.apache.ace.agent.impl.EventLoggerImpl
 
TOPIC_INSTALL - Static variable in class org.apache.ace.agent.impl.EventLoggerImpl
 
TOPIC_UNINSTALL - Static variable in class org.apache.ace.agent.impl.EventLoggerImpl
 
truncate() - Method in class org.apache.ace.agent.impl.FeedbackStore
Try to truncate the store at the current record.

U

update() - Method in class org.apache.ace.agent.impl.DependencyTrackerImpl
Called for each change in the dependency set.
update(Bundle, InputStream, InputStream) - Method in class org.apache.ace.agent.updater.Activator
 
UpdateHandler - Interface in org.apache.ace.agent
Generic interface for installing updates.

V

valueOf(String) - Static method in enum org.apache.ace.agent.ConnectionHandler.Types
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.ace.agent.DownloadState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.ace.agent.LoggingHandler.Levels
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.ace.agent.ConnectionHandler.Types
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.ace.agent.DownloadState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.ace.agent.LoggingHandler.Levels
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(int, Map<String, String>) - Method in interface org.apache.ace.agent.FeedbackChannel
Logs a new message to this feedback channel.
write(int, Map<String, String>) - Method in class org.apache.ace.agent.impl.FeedbackChannelImpl
 
write(int, Map<String, String>) - Method in class org.apache.ace.agent.impl.FeedbackStoreManager
Write to the currently active store
A B C D E F G H I K L M N O P R S T U V W