Uses of Interface
org.refcodes.servicebus.ServiceMatcher
-
-
Uses of ServiceMatcher in org.refcodes.servicebus
Methods in org.refcodes.servicebus that return ServiceMatcher Modifier and Type Method Description static <S extends Service<?>>
ServiceMatcher<S>ServiceMatcherSugar. and(ServiceMatcher<S>... aServiceMatchers)Factory method to create an "AND" matcher for the given matchers.ServiceMatcher<?>ServiceMatcherAccessor. getServiceMatcher()Retrieves theServiceMatcherproperty from the property.static <S extends Service<?>>
ServiceMatcher<S>ServiceMatcherSugar. isAssignableFrom(java.lang.Class<?> aServiceType)Factory method to create an service matcher by service type.static <S extends Service<?>>
ServiceMatcher<S>ServiceMatcherSugar. or(ServiceMatcher<S>... aServiceMatchers)Factory method to create an "OR" matcher for the given matchers.Methods in org.refcodes.servicebus with parameters of type ServiceMatcher Modifier and Type Method Description static <S extends Service<?>>
ServiceMatcher<S>ServiceMatcherSugar. and(ServiceMatcher<S>... aServiceMatchers)Factory method to create an "AND" matcher for the given matchers.booleanServiceBus. hasService(ServiceMatcher<S> aServiceMatcher)Determines whether the givenServiceMatcherwill result in a singleServiceto be looked up.booleanServiceBusImpl. hasService(ServiceMatcher<S> aServiceMatcher)Determines whether the givenServiceMatcherwill result in a singleServiceto be looked up.SServiceBus. lookupService(ServiceMatcher<S> aServiceMatcher)Looks for a service matching the given service descriptor and returns it if found.SServiceBusImpl. lookupService(ServiceMatcher<S> aServiceMatcher)Looks for a service matching the given service descriptor and returns it if found.static <S extends Service<?>>
ServiceMatcher<S>ServiceMatcherSugar. or(ServiceMatcher<S>... aServiceMatchers)Factory method to create an "OR" matcher for the given matchers.voidServiceMatcherAccessor.ServiceMatcherMutator. setServiceMatcher(ServiceMatcher<?> aServiceMatcher)Sets theServiceMatcherproperty for the property.Constructors in org.refcodes.servicebus with parameters of type ServiceMatcher Constructor Description AmbiguousServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String message)Instantiates a new ambiguous service runtime exception.AmbiguousServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new ambiguous service runtime exception.AmbiguousServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String message, java.lang.Throwable cause)Instantiates a new ambiguous service runtime exception.AmbiguousServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new ambiguous service runtime exception.AmbiguousServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.Throwable cause)Instantiates a new ambiguous service runtime exception.AmbiguousServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new ambiguous service runtime exception.NoMatchingServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String message)Instantiates a new no matching service runtime exception.NoMatchingServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new no matching service runtime exception.NoMatchingServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String message, java.lang.Throwable cause)Instantiates a new no matching service runtime exception.NoMatchingServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new no matching service runtime exception.NoMatchingServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.Throwable cause)Instantiates a new no matching service runtime exception.NoMatchingServiceRuntimeException(ServiceMatcher<?> aServiceMatcher, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new no matching service runtime exception.
-