Skip to content

Commit 76f7299

Browse files
committed
Set component annotation
1 parent 7e7c476 commit 76f7299

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

src/main/java/com/bernardomg/example/spring/security/ws/oauth/resource/entity/adapter/inbound/jpa/repository/JpaExampleEntityRepository.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,38 @@
1+
/**
2+
* The MIT License (MIT)
3+
* <p>
4+
* Copyright (c) 2021-2023 the original author or authors.
5+
* <p>
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
* <p>
13+
* The above copyright notice and this permission notice shall be included in
14+
* all copies or substantial portions of the Software.
15+
* <p>
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/
124

225
package com.bernardomg.example.spring.security.ws.oauth.resource.entity.adapter.inbound.jpa.repository;
326

427
import java.util.Collection;
528

29+
import org.springframework.stereotype.Repository;
30+
631
import com.bernardomg.example.spring.security.ws.oauth.resource.entity.adapter.inbound.jpa.model.PersistentExampleEntity;
732
import com.bernardomg.example.spring.security.ws.oauth.resource.entity.domain.model.ExampleEntity;
833
import com.bernardomg.example.spring.security.ws.oauth.resource.entity.domain.repository.ExampleEntityRepository;
934

35+
@Repository
1036
public final class JpaExampleEntityRepository implements ExampleEntityRepository {
1137

1238
private final ExampleEntitySpringRepository springRepository;

0 commit comments

Comments
 (0)