Interface CbServiceObjectsServiceObjects<T,S>
- All Superinterfaces:
Serializable,SerializableLambda
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CbServiceObjectsServiceObjects<T,S>
extends SerializableLambda
Represents a callback(ServiceObjects, ServiceObjects) that is invoked on a Component implementation class.
The type of the class on which the callback is invoked on is represented by the T generic parameter.
- Author:
- Felix Project Team
-
Method Summary
-
Method Details
-
accept
void accept(T instance, org.osgi.framework.ServiceObjects<S> ref1, org.osgi.framework.ServiceObjects<S> ref2) Handles the given arguments.- Parameters:
instance- the Component implementation instance on which the callback is invoked on.ref1- first callback argref2- second callback arg
-
andThen
default CbServiceObjectsServiceObjects<T,S> andThen(CbServiceObjectsServiceObjects<? super T, S> after)
-