java.lang.Object
io.helidon.pico.api.AbstractServiceInfoCriteria
- All Implemented Interfaces:
ServiceInfoCriteria
- Direct Known Subclasses:
DefaultServiceInfoCriteria
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractServiceInfoCriteria
extends Object
implements ServiceInfoCriteria
Abstract implementation w/ builder for
ServiceInfoCriteria.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractServiceInfoCriteria.Builder<B extends AbstractServiceInfoCriteria.Builder<B,T>, T extends ServiceInfoCriteria> Fluent API builder forT. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.The management agent (i.e., the activator) that is responsible for creating and activating - typically build-time created.The managed services advertised types (i.e., typically its interfaces).booleanThe managed services external contracts / interfaces.inthashCode()booleanDetermines whether the non-proxied,Interceptedservices should be returned in any lookup operation.The name of the ascribed module, if known.The managed service assigned Qualifier's.runLevel()The optionalRunLevelascribed to the service.The managed service assigned Scope's.The managed service implementation type name.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.ServiceInfoCriteria, calling theAttributeVisitorfor each.weight()Weight that was declared on the type itself.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.pico.api.ServiceInfoCriteria
matches, matchesContracts
-
Constructor Details
-
AbstractServiceInfoCriteria
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
serviceTypeName
Description copied from interface:ServiceInfoCriteriaThe managed service implementation type name.- Specified by:
serviceTypeNamein interfaceServiceInfoCriteria- Returns:
- the service type name
-
scopeTypeNames
Description copied from interface:ServiceInfoCriteriaThe managed service assigned Scope's.- Specified by:
scopeTypeNamesin interfaceServiceInfoCriteria- Returns:
- the service scope type name
-
qualifiers
Description copied from interface:ServiceInfoCriteriaThe managed service assigned Qualifier's.- Specified by:
qualifiersin interfaceServiceInfoCriteria- Returns:
- the service qualifiers
-
contractsImplemented
Description copied from interface:ServiceInfoCriteriaThe managed services advertised types (i.e., typically its interfaces).- Specified by:
contractsImplementedin interfaceServiceInfoCriteria- Returns:
- the service contracts implemented
- See Also:
-
runLevel
Description copied from interface:ServiceInfoCriteriaThe optionalRunLevelascribed to the service.- Specified by:
runLevelin interfaceServiceInfoCriteria- Returns:
- the service's run level
-
weight
Description copied from interface:ServiceInfoCriteriaWeight that was declared on the type itself.- Specified by:
weightin interfaceServiceInfoCriteria- Returns:
- the declared weight
-
externalContractsImplemented
Description copied from interface:ServiceInfoCriteriaThe managed services external contracts / interfaces. These should also be contained withinServiceInfoCriteria.contractsImplemented(). External contracts are from other modules other than the module containing the implementation typically.- Specified by:
externalContractsImplementedin interfaceServiceInfoCriteria- Returns:
- the service external contracts implemented
- See Also:
-
activatorTypeName
Description copied from interface:ServiceInfoCriteriaThe management agent (i.e., the activator) that is responsible for creating and activating - typically build-time created.- Specified by:
activatorTypeNamein interfaceServiceInfoCriteria- Returns:
- the activator type name
-
moduleName
Description copied from interface:ServiceInfoCriteriaThe name of the ascribed module, if known.- Specified by:
moduleNamein interfaceServiceInfoCriteria- Returns:
- the module name
-
includeIntercepted
public boolean includeIntercepted()Description copied from interface:ServiceInfoCriteriaDetermines whether the non-proxied,Interceptedservices should be returned in any lookup operation. If this option is disabled then only theInterceptor-generated service will be eligible to be returned and not the service being intercepted. The default value isfalse.- Specified by:
includeInterceptedin interfaceServiceInfoCriteria- Returns:
- true if the non-proxied type intercepted services should be eligible
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toString
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Returns:
- portion of the toString output
-
hashCode
public int hashCode() -
equals
-
visitAttributes
Visits all attributes of io.helidon.pico.api.ServiceInfoCriteria, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-