Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- abort() - Method in interface aQute.remote.api.Agent
-
Abort the remote agent.
- addFile(File) - Method in class aQute.remote.util.AgentSupervisor
- Agent - Interface in aQute.remote.api
-
An agent runs on remote OSGi framework and provides the means to control this framework.
- AGENT_SERVER_PORT_KEY - Static variable in interface aQute.remote.api.Agent
-
The property key to set the agent's port.
- AgentSupervisor<Supervisor,
Agent> - Class in aQute.remote.util -
This is a base class that provides the basic functionality of a supervisor.
- AgentSupervisor() - Constructor for class aQute.remote.util.AgentSupervisor
- aQute.bnd.util.dto - package aQute.bnd.util.dto
- aQute.remote.api - package aQute.remote.api
- aQute.remote.util - package aQute.remote.util
B
C
- close() - Method in class aQute.remote.util.AgentSupervisor
- close() - Method in class aQute.remote.util.Link
- code - Variable in class aQute.remote.api.Event
- COMMAND_SESSION - Static variable in interface aQute.remote.api.Agent
-
The port for attaching to a remote Gogo CommandSession
- connect(Class<Agent>, Supervisor, String, int) - Method in class aQute.remote.util.AgentSupervisor
- connect(Class<Agent>, Supervisor, String, int, int) - Method in class aQute.remote.util.AgentSupervisor
- CONSOLE - Static variable in interface aQute.remote.api.Agent
-
The port for System.in, out, err redirecting.
- createFramework(String, Collection<String>, Map<String, Object>) - Method in interface aQute.remote.api.Agent
-
This method is only implemented in the Envoy (the pre-Agent).
D
- DEFAULT_PORT - Static variable in interface aQute.remote.api.Agent
-
The default port.
- deploy(String, File) - Method in class aQute.remote.util.JMXBundleDeployer
-
Gets the current list of installed bsns, compares it to the bsn provided.
- DTO - Class in aQute.bnd.util.dto
-
Super type for Data Transfer Objects.
- DTO() - Constructor for class aQute.bnd.util.dto.DTO
E
- event(Event) - Method in interface aQute.remote.api.Supervisor
-
An event sent from the agent.
- Event - Class in aQute.remote.api
-
An event sent from the agent to the supervisor.
- Event() - Constructor for class aQute.remote.api.Event
- Event.Type - Enum Class in aQute.remote.api
- exit - Enum constant in enum class aQute.remote.api.Event.Type
- exit(int) - Method in class aQute.remote.util.AgentSupervisor
- exitCode - Variable in class aQute.remote.util.AgentSupervisor
F
- framework - Enum constant in enum class aQute.remote.api.Event.Type
G
- getAgent() - Method in class aQute.remote.util.AgentSupervisor
- getBundleRevisons(long...) - Method in interface aQute.remote.api.Agent
-
Get the Bundle Revisions for the given ids.
- getBundles(long...) - Method in interface aQute.remote.api.Agent
-
Get the Bundles for the given ids.
- getFile(String) - Method in interface aQute.remote.api.Supervisor
-
Return the contents of the file that has the given SHA-1.
- getFile(String) - Method in class aQute.remote.util.AgentSupervisor
- getFramework() - Method in interface aQute.remote.api.Agent
-
Get the framework DTO
- getInput() - Method in class aQute.remote.util.Link
- getOutput() - Method in class aQute.remote.util.Link
- getRemote() - Method in class aQute.remote.util.Link
- getSystemProperties() - Method in interface aQute.remote.api.Agent
-
Get the remote's system's System properties
I
- install(String, String) - Method in interface aQute.remote.api.Agent
-
Install a new bundle at the given bundle location.
- installFromURL(String, String) - Method in interface aQute.remote.api.Agent
-
Install a new bundle at the given location using a url to get the stream.
- installWithData(String, byte[]) - Method in interface aQute.remote.api.Agent
-
Install or update a bundle from the specified byte array instance.
- isEnvoy() - Method in interface aQute.remote.api.Agent
-
An Envoy is an agent that can install a framework (well, -runpath) and launch it with an Agent.
- isOpen() - Method in class aQute.remote.util.AgentSupervisor
- isOpen() - Method in class aQute.remote.util.Link
J
- JMXBundleDeployer - Class in aQute.remote.util
-
This class will try to connect to a remote OSGi framework using JMX and will deploy a bundle for you, by deploy, that means install the bundle if it doesn't existing in the remote runtime or update the bundle if it already exists.
- JMXBundleDeployer() - Constructor for class aQute.remote.util.JMXBundleDeployer
- JMXBundleDeployer(int) - Constructor for class aQute.remote.util.JMXBundleDeployer
- JMXBundleDeployer(String) - Constructor for class aQute.remote.util.JMXBundleDeployer
- join() - Method in class aQute.remote.util.AgentSupervisor
L
- Link<L,
R> - Class in aQute.remote.util -
This is a simple RPC module that has a R and L interface.
- Link(Class<R>, L, DataInputStream, DataOutputStream) - Constructor for class aQute.remote.util.Link
- Link(Class<R>, L, InputStream, OutputStream) - Constructor for class aQute.remote.util.Link
- Link(Class<R>, L, Socket) - Constructor for class aQute.remote.util.Link
- listBundles() - Method in class aQute.remote.util.JMXBundleDeployer
-
Calls osgi.core bundleState MBean listBundles operation
N
O
P
- ping() - Method in interface aQute.remote.api.Agent
-
Ping the remote agent to see if it is still alive.
- PORT_P - Static variable in interface aQute.remote.api.Agent
-
The pattern for a server port specification:
[<interface>:]<port>.
R
- redirect(int) - Method in interface aQute.remote.api.Agent
-
Redirect I/O from port.
- reference - Variable in class aQute.remote.api.Event
- run() - Method in class aQute.remote.util.Link
S
- setAgent(Link<Supervisor, Agent>) - Method in class aQute.remote.util.AgentSupervisor
- setRemote(Object) - Method in class aQute.remote.util.Link
- shell(String) - Method in interface aQute.remote.api.Agent
-
Execute a remote command on Gogo (if present) and return the result.
- start(long...) - Method in interface aQute.remote.api.Agent
-
Start a number of bundles
- stderr(String) - Method in interface aQute.remote.api.Supervisor
-
Redirected standard error.
- stdin(String) - Method in interface aQute.remote.api.Agent
-
Send a text to the potentially redirected stdin stream so that remotely executing code will read it from an InputStream.
- stdout(String) - Method in interface aQute.remote.api.Supervisor
-
Redirected standard output
- stop(long...) - Method in interface aQute.remote.api.Agent
-
Stop a number of bundles
- Supervisor - Interface in aQute.remote.api
-
A Supervisor handles the initiating side of a session with a remote agent.
T
- terminate(Exception) - Method in class aQute.remote.util.Link
- toString() - Method in class aQute.bnd.util.dto.DTO
-
Return a string representation of this DTO suitable for use when debugging.
- transfer(Object) - Method in class aQute.remote.util.Link
- type - Variable in class aQute.remote.api.Event
U
- uninstall(long) - Method in class aQute.remote.util.JMXBundleDeployer
-
Calls through directly to the OSGi frameworks MBean uninstallBundle operation
- uninstall(long...) - Method in interface aQute.remote.api.Agent
-
Uninstall a number of bundles
- uninstall(String) - Method in class aQute.remote.util.JMXBundleDeployer
-
Uninstall a bundle by passing in its Bundle-SymbolicName.
- update(long, String) - Method in interface aQute.remote.api.Agent
-
Updates a single bundle by id in the framework.
- update(Map<String, String>) - Method in interface aQute.remote.api.Agent
-
Update the bundles in the framework.
- updateFromURL(long, String) - Method in interface aQute.remote.api.Agent
-
Updates a single bundle from a url
V
- valueOf(String) - Static method in enum class aQute.remote.api.Event.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class aQute.remote.api.Event.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values