Skip navigation links
A B C D E F G I J L O P R S T U V W 

A

addCapsule(Capsule) - Method in interface domino.java.capsule.CapsuleContext
Starts the given capsule and adds it to the current capsule scope.
addCapsule(Capsule) - Method in class domino.java.capsule.DynamicCapsuleContext
 
asMap(K, V) - Static method in interface domino.java.Util
Convenience method to create a LinkedHashMap with 1 entry in-place.
asMap(K, V, K, V) - Static method in interface domino.java.Util
Convenience method to create a LinkedHashMap with 2 entries in-place.
asMap(K, V, K, V, K, V) - Static method in interface domino.java.Util
Convenience method to create a LinkedHashMap with 3 entries in-place.
asMap(K, V, K, V, K, V, K, V) - Static method in interface domino.java.Util
Convenience method to create a LinkedHashMap with 4 entries in-place.

B

bundleName(BundleContext) - Static method in interface domino.java.Util
Extract the bundle name and it's ID from the bundle context.

C

Capsule - Interface in domino.java.capsule
A capsule represents something which is startable and stoppable.
CapsuleContext - Interface in domino.java.capsule
Represents the tree structure which is formed by capsule scopes and their contained capsules.
CapsuleScope - Interface in domino.java.capsule
Represents a collection of capsules which shall all be stopped on the same event.
context() - Method in class domino.java.ServiceWatcherEvent
 
createCompleteFilter(Class<?>, String) - Static method in interface domino.java.Util
Creates a filter criteria expression which matches the given main type and the given custom filter.
createObjectClassFilter(String) - Static method in interface domino.java.Util
Creates an `OBJECTCLASS` filter for the given class.

D

debug(String, Object...) - Method in interface domino.java.internal.Logger
 
debug(String, Object...) - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
debug(String, Object...) - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
debug(String, Object...) - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
DefaultCapsuleScope - Class in domino.java.capsule
A capsule scope implementation based on a Iterable.
DefaultCapsuleScope(Iterable<Capsule>) - Constructor for class domino.java.capsule.DefaultCapsuleScope
Creates a capsule scope containing the given capsules.
domino.java - package domino.java
 
domino.java.capsule - package domino.java.capsule
 
domino.java.internal - package domino.java.internal
 
DummyLogger() - Constructor for class domino.java.internal.LoggerFactory.DummyLogger
 
DynamicCapsuleContext - Class in domino.java.capsule
A CapsuleContext implementation based on DynamicVariable and DefaultCapsuleScope.
DynamicCapsuleContext() - Constructor for class domino.java.capsule.DynamicCapsuleContext
 
DynamicVariable<T> - Class in domino.java.capsule
`DynamicVariable` provides a binding mechanism where the current value is found through dynamic scope, but where access to the variable itself is resolved through static scope.
DynamicVariable(T) - Constructor for class domino.java.capsule.DynamicVariable
 

E

error(String, Object...) - Method in interface domino.java.internal.Logger
 
error(String, Object...) - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
error(String, Object...) - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
error(String, Object...) - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
eventType() - Method in class domino.java.ServiceWatcherEvent
 
executeWithinNewCapsuleScope(Runnable) - Method in interface domino.java.capsule.CapsuleContext
Creates a new capsule scope on top of the active one and executes the given function in it.
executeWithinNewCapsuleScope(Runnable) - Method in class domino.java.capsule.DynamicCapsuleContext
 

F

formattedMsgAndCause(String, Object...) - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 

G

getLogger(Class<?>) - Static method in class domino.java.internal.LoggerFactory
 

I

info(String, Object...) - Method in interface domino.java.internal.Logger
 
info(String, Object...) - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
info(String, Object...) - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
info(String, Object...) - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
internalProvideService(S, Iterable<Class<? super S>>, Map<String, Object>) - Method in class domino.java.OsgiContext
 
isActive() - Method in class domino.java.OsgiContext
Returns `true` as long as the bundle is active and it's bundle context is valid.
isDebugEnabled() - Method in interface domino.java.internal.Logger
 
isDebugEnabled() - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
isDebugEnabled() - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
isDebugEnabled() - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
isErrorEnabled() - Method in interface domino.java.internal.Logger
 
isErrorEnabled() - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
isErrorEnabled() - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
isErrorEnabled() - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
isInfoEnabled() - Method in interface domino.java.internal.Logger
 
isInfoEnabled() - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
isInfoEnabled() - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
isInfoEnabled() - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
isTraceEnabled() - Method in interface domino.java.internal.Logger
 
isTraceEnabled() - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
isTraceEnabled() - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
isTraceEnabled() - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
isWarnEnabled() - Method in interface domino.java.internal.Logger
 
isWarnEnabled() - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
isWarnEnabled() - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
isWarnEnabled() - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 

J

JavaUtilLogger(Class<?>) - Constructor for class domino.java.internal.LoggerFactory.JavaUtilLogger
 

L

linkFiltersWithAnd(Optional<String>, Optional<String>) - Static method in interface domino.java.Util
Links to filter expressions with a logical AND if both are given, otherwise returns just one of it.
Logger - Interface in domino.java.internal
A lightweight wrapper around a logging API, if available.
LoggerFactory - Class in domino.java.internal
Use this factory to get an instance of Logger.
LoggerFactory() - Constructor for class domino.java.internal.LoggerFactory
 
LoggerFactory.DummyLogger - Class in domino.java.internal
 
LoggerFactory.JavaUtilLogger - Class in domino.java.internal
All log messages will be pre-processed before given to the JUL logger to support SLF4J-style placeholders and arguments semantics.
LoggerFactory.Slf4jLogger - Class in domino.java.internal
All log messages will be pass through SLF4j as-is.

O

onStop(Runnable) - Method in class domino.java.OsgiContext
Provides convenient `onStop` method which the end user can use for ad-hoc adding stop logic to the current scope.
OsgiContext - Class in domino.java
This is the main entry point to the Domino Java DSL.
OsgiContext() - Constructor for class domino.java.OsgiContext
Will be called by the OSGi framework, if you inherit from this class.

P

providesService(S) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>, Class<? super S>) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>, Class<? super S>) - Method in class domino.java.OsgiContext
 
providesService(S, Map<String, Object>) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>, Map<String, Object>) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>, Class<? super S>, Map<String, Object>) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>, Map<String, Object>) - Method in class domino.java.OsgiContext
 
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>, Class<? super S>, Map<String, Object>) - Method in class domino.java.OsgiContext
 
providesService(S) - Method in interface domino.java.ServiceProviding
Registers the service under it's own specified type and without service properties.
providesService(S, Class<? super S>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified type and without service properties.
providesService(S, Class<? super S>, Class<? super S>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified types and without service properties.
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified types and without service properties.
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>, Class<? super S>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified types and without service properties.
providesService(S, Map<String, Object>) - Method in interface domino.java.ServiceProviding
Registers the service under it's own specified type with the given service properties.
providesService(S, Class<? super S>, Map<String, Object>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified type with the given service properties.
providesService(S, Class<? super S>, Class<? super S>, Map<String, Object>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified types with the given service properties.
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>, Map<String, Object>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified types with the given service properties.
providesService(S, Class<? super S>, Class<? super S>, Class<? super S>, Class<? super S>, Map<String, Object>) - Method in interface domino.java.ServiceProviding
Registers the service under the specified types with the given service properties.

R

reference() - Method in class domino.java.ServiceWatcherContext
 

S

service(Class<S>) - Method in class domino.java.OsgiContext
 
service(Class<S>, String) - Method in class domino.java.OsgiContext
 
service(Class<S>) - Method in interface domino.java.ServiceConsuming
Returns the highest-ranked service of the specified type if available.
service(Class<S>, String) - Method in interface domino.java.ServiceConsuming
Returns the first available service of the specified class which satisfies the filter if available.
service() - Method in class domino.java.ServiceWatcherEvent
 
ServiceConsuming - Interface in domino.java
Provides convenient methods to consume OSGi services.
ServiceProviderCapsule<S> - Class in domino.java
A capsule which registers an object in the OSGi service registry while the current capsule scope is active.
ServiceProviderCapsule(Iterable<Class<? super S>>, Map<String, Object>, BundleContext, S) - Constructor for class domino.java.ServiceProviderCapsule
 
ServiceProviding - Interface in domino.java
Provides convenient methods to provide any object easily in the OSGi service registry.
serviceRef(Class<? super S>) - Method in class domino.java.OsgiContext
 
serviceRef(Class<S>, String) - Method in class domino.java.OsgiContext
 
serviceRef(Class<? super S>) - Method in interface domino.java.ServiceConsuming
Like ServiceConsuming.service(Class) but returns the reference so you can access meta information about that service.
serviceRef(Class<S>, String) - Method in interface domino.java.ServiceConsuming
Like ServiceConsuming.service(Class, String) with filter but returns the service reference.
serviceRefs(Class<S>, String) - Method in class domino.java.OsgiContext
 
serviceRefs(Class<S>, String) - Method in interface domino.java.ServiceConsuming
Like ServiceConsuming.services(Class, String) with filters but returns the references.
serviceRegistration() - Method in class domino.java.ServiceProviderCapsule
Returns the service registration.
services(Class<S>, String) - Method in class domino.java.OsgiContext
 
services(Class<S>) - Method in class domino.java.OsgiContext
 
services(Class<S>, String) - Method in interface domino.java.ServiceConsuming
Returns all services of the specified type which satisfy the given filter.
services(Class<S>) - Method in interface domino.java.ServiceConsuming
Returns all services of the given type.
ServiceWatcherCapsule<S> - Class in domino.java
A capsule which executes the given event handlers on service state transitions while the current scope is active.
ServiceWatcherCapsule(Filter, Procedure1<ServiceWatcherEvent<S>>, BundleContext) - Constructor for class domino.java.ServiceWatcherCapsule
 
ServiceWatcherContext<S> - Class in domino.java
Contains details about the current service event.
ServiceWatcherContext(ServiceTracker<S, S>, ServiceReference<S>) - Constructor for class domino.java.ServiceWatcherContext
 
ServiceWatcherEvent<S> - Class in domino.java
A Service watcher events.
ServiceWatcherEvent(S, ServiceWatcherContext<S>, ServiceWatcherEvent.EventType) - Constructor for class domino.java.ServiceWatcherEvent
 
ServiceWatcherEvent.EventType - Enum in domino.java
Contains the possible service watcher event types.
ServiceWatching - Interface in domino.java
Provides convenient methods to add a service watcher to the current scope or wait until services are present.
setValue(T) - Method in class domino.java.capsule.DynamicVariable
Change the currently bound value, discarding the old value.
Slf4jLogger(Class<?>) - Constructor for class domino.java.internal.LoggerFactory.Slf4jLogger
 
start() - Method in interface domino.java.capsule.Capsule
Starts the capsule.
start(BundleContext) - Method in class domino.java.OsgiContext
 
start() - Method in class domino.java.ServiceProviderCapsule
 
start() - Method in class domino.java.ServiceWatcherCapsule
 
stop() - Method in interface domino.java.capsule.Capsule
Stops the capsule.
stop() - Method in interface domino.java.capsule.CapsuleScope
Stops all capsules in this scope.
stop() - Method in class domino.java.capsule.DefaultCapsuleScope
Stop this stop and therefore all containing capsules.
stop(BundleContext) - Method in class domino.java.OsgiContext
 
stop() - Method in class domino.java.ServiceProviderCapsule
 
stop() - Method in class domino.java.ServiceWatcherCapsule
 

T

toString() - Method in class domino.java.capsule.DynamicVariable
 
toString() - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
toString() - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
toString() - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
toString() - Method in class domino.java.ServiceWatcherContext
 
toString() - Method in class domino.java.ServiceWatcherEvent
 
trace(String, Object...) - Method in interface domino.java.internal.Logger
 
trace(String, Object...) - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
trace(String, Object...) - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
trace(String, Object...) - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
tracker() - Method in class domino.java.ServiceWatcherCapsule
 
tracker() - Method in class domino.java.ServiceWatcherContext
 

U

Util - Interface in domino.java
 

V

value() - Method in class domino.java.capsule.DynamicVariable
Retrieve the current value.
valueOf(String) - Static method in enum domino.java.ServiceWatcherEvent.EventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum domino.java.ServiceWatcherEvent.EventType
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, Object...) - Method in interface domino.java.internal.Logger
 
warn(String, Object...) - Method in class domino.java.internal.LoggerFactory.DummyLogger
 
warn(String, Object...) - Method in class domino.java.internal.LoggerFactory.JavaUtilLogger
 
warn(String, Object...) - Method in class domino.java.internal.LoggerFactory.Slf4jLogger
 
watchAdvancedServices(Class<S>, String, Procedure1<ServiceWatcherEvent<S>>) - Method in class domino.java.OsgiContext
 
watchAdvancedServices(Class<S>, String, Procedure1<ServiceWatcherEvent<S>>) - Method in interface domino.java.ServiceWatching
Lets you react to service events for services with the specified type which match the given filter.
whenAdvancedServicePresent(Class<S>, String, Procedure1<S>) - Method in class domino.java.OsgiContext
 
whenAdvancedServicePresent(Class<S>, String, Procedure1<S>) - Method in interface domino.java.ServiceWatching
Activates the given inner logic as long as the first service of the given type is present.
whenBundleActive(Procedure1<BundleContext>) - Method in class domino.java.OsgiContext
Defines a handler `f` to be executed when the bundle becomes active.
whenServicePresent(Class<S>, Procedure1<S>) - Method in class domino.java.OsgiContext
 
whenServicePresent(Class<S>, Procedure1<S>) - Method in interface domino.java.ServiceWatching
Waits until a service of the specified type is available and executes the given event handler with it.
whenServicesPresent(Class<S1>, Class<S2>, Procedure2<S1, S2>) - Method in class domino.java.OsgiContext
 
whenServicesPresent(Class<S1>, Class<S2>, Class<S3>, Procedure3<S1, S2, S3>) - Method in class domino.java.OsgiContext
 
whenServicesPresent(Class<S1>, Class<S2>, Class<S3>, Class<S4>, Procedure4<S1, S2, S3, S4>) - Method in class domino.java.OsgiContext
 
whenServicesPresent(Class<S1>, Class<S2>, Procedure2<S1, S2>) - Method in interface domino.java.ServiceWatching
 
whenServicesPresent(Class<S1>, Class<S2>, Class<S3>, Procedure3<S1, S2, S3>) - Method in interface domino.java.ServiceWatching
 
whenServicesPresent(Class<S1>, Class<S2>, Class<S3>, Class<S4>, Procedure4<S1, S2, S3, S4>) - Method in interface domino.java.ServiceWatching
 
withService(Class<S>, F1<Optional<S>, R>) - Method in class domino.java.OsgiContext
 
withService(Class<S>, F1<Optional<S>, R>) - Method in interface domino.java.ServiceConsuming
Executes the given handler with the highest-ranked service of the specified type.
withValue(T, F0<S>) - Method in class domino.java.capsule.DynamicVariable
Set the value of the variable while executing the specified thunk.
A B C D E F G I J L O P R S T U V W 
Skip navigation links