public static void validateScope(BeanAttributes<?> attributes, BeanManager manager) { if(attributes.getScope() == null) { throw MetadataLogger.LOG.scopeNull(attributes); } if (!manager.isScope(attributes.getScope())) { throw MetadataLogger.LOG.notAScope(attributes.getScope(), attributes); } }
public static void validateScope(BeanAttributes<?> attributes, BeanManager manager) { if(attributes.getScope() == null) { throw MetadataLogger.LOG.scopeNull(attributes); } if (!manager.isScope(attributes.getScope())) { throw MetadataLogger.LOG.notAScope(attributes.getScope(), attributes); } }
public static void validateScope(BeanAttributes<?> attributes, BeanManager manager) { if(attributes.getScope() == null) { throw MetadataLogger.LOG.scopeNull(attributes); } if (!manager.isScope(attributes.getScope())) { throw MetadataLogger.LOG.notAScope(attributes.getScope(), attributes); } }
public static void validateScope(BeanAttributes<?> attributes, BeanManager manager) { if(attributes.getScope() == null) { throw MetadataLogger.LOG.scopeNull(attributes); } if (!manager.isScope(attributes.getScope())) { throw MetadataLogger.LOG.notAScope(attributes.getScope(), attributes); } }
public static void validateScope(BeanAttributes<?> attributes, BeanManager manager) { if(attributes.getScope() == null) { throw MetadataLogger.LOG.scopeNull(attributes); } if (!manager.isScope(attributes.getScope())) { throw MetadataLogger.LOG.notAScope(attributes.getScope(), attributes); } }
public static void validateScope(BeanAttributes<?> attributes, BeanManager manager) { if(attributes.getScope() == null) { throw MetadataLogger.LOG.scopeNull(attributes); } if (!manager.isScope(attributes.getScope())) { throw MetadataLogger.LOG.notAScope(attributes.getScope(), attributes); } }