@Override
    public ProvisioningFeatureDefinition getFeature(String featureName) {
        ProvisioningFeatureDefinition result = repo.getFeature(featureName);
        if (result == null) {
            return null;
        }
        if (restricted.contains(result.getSymbolicName())) {
            // record the restricted attemp
            if (!restrictedAttempts.contains(result.getSymbolicName())) {
                restrictedAttempts.add(result.getSymbolicName());
            }
            return null;
        }
        return result;
    }
@ Override public ProvisioningFeatureDefinition getFeature ( String featureName ) { ProvisioningFeatureDefinition result = repo . getFeature ( featureName ) ; if ( result == null ) { return null ; } if ( restricted . contains ( result . getSymbolicName ( ) ) ) { if ( ! restrictedAttempts . contains ( result . getSymbolicName ( ) ) ) { restrictedAttempts . add ( result . getSymbolicName ( ) ) ; } return null ; } return result ; }
/*
(non-Javadoc)

@see com.ibm.ws.kernel.feature.resolver.FeatureResolver.Repository#getFeature(java.lang.String)