Skip to content

Package: RoleCacheFactory

RoleCacheFactory

nameinstructionbranchcomplexitylinemethod
RoleCacheFactory()
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
getInstance()
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2020 Eurotech and/or its affiliates and others
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech - initial API and implementation
11: *******************************************************************************/
12: package org.eclipse.kapua.service.authorization.role.shiro;
13:
14: import org.eclipse.kapua.commons.jpa.AbstractEntityCacheFactory;
15:
16: /**
17: * Cache factory for the {@link RoleServiceImpl}
18: */
19: public class RoleCacheFactory extends AbstractEntityCacheFactory {
20:
21: private RoleCacheFactory() {
22: super("RoleId");
23: }
24:
25: protected static RoleCacheFactory getInstance() {
26: return new RoleCacheFactory();
27: }
28: }