public class RHardConstraints
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected IExternalAccess |
component
The component.
|
protected java.util.Collection<MHardConstraint> |
constraintmodel
Hard constraint model
|
protected java.util.List<IAsyncFilter<?>> |
filters
The basic hard constraints filter
|
protected java.util.List<ConstantValueFilter> |
unboundconstantfilters
Unbound constant value filters
|
Constructor and Description |
---|
RHardConstraints(IExternalAccess component,
java.util.Collection<MHardConstraint> constraintmodel)
Creates the runtime hard constraints.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addFilter(IAsyncFilter<IService> filter)
Adds a filter.
|
IAsyncFilter<?> |
getLocalFilter()
Gets the filter for local filtering.
|
IAsyncFilter<IService> |
getLocalFilter(MethodInfo method)
Gets the filter for local filtering.
|
IAsyncFilter<?> |
getRemotableFilter()
Gets the filter that is remotable.
|
static <T> ITerminableIntermediateFuture<T> |
getServices(IInternalAccess ea,
java.lang.Class<T> type,
java.lang.String scope,
MethodInfo method,
RHardConstraints hardconstraints) |
void |
optimizeFilters()
Used after searches to make bound filters remotable.
|
protected IExternalAccess component
protected java.util.Collection<MHardConstraint> constraintmodel
protected java.util.List<IAsyncFilter<?>> filters
protected java.util.List<ConstantValueFilter> unboundconstantfilters
public RHardConstraints(IExternalAccess component, java.util.Collection<MHardConstraint> constraintmodel)
mhc
- The declared model hard constraints.protected void addFilter(IAsyncFilter<IService> filter)
filter
- The filter.public IAsyncFilter<?> getRemotableFilter()
public IAsyncFilter<?> getLocalFilter()
public IAsyncFilter<IService> getLocalFilter(MethodInfo method)
public void optimizeFilters()
public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess ea, java.lang.Class<T> type, java.lang.String scope, MethodInfo method, RHardConstraints hardconstraints)