-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
657288b
commit 57e106f
Showing
2 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
app/src/main/java/org/gluu/casa/core/model/GluuConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.gluu.casa.core.model; | ||
|
||
import io.jans.orm.annotation.AttributeName; | ||
import io.jans.orm.annotation.DataEntry; | ||
import io.jans.orm.annotation.JsonObject; | ||
import io.jans.orm.annotation.ObjectClass; | ||
import io.jans.orm.model.base.InumEntry; | ||
import io.jans.service.cache.CacheConfiguration; | ||
|
||
//For unknown reason io.jans.as.persistence.model.configuration.GluuConfiguration is giving trouble | ||
@DataEntry | ||
@ObjectClass(value = "jansAppConf") | ||
public class GluuConfiguration extends InumEntry { | ||
|
||
@AttributeName(name = "jansCacheConf") | ||
@JsonObject | ||
private CacheConfiguration cacheConfiguration; | ||
|
||
public CacheConfiguration getCacheConfiguration() { | ||
return cacheConfiguration; | ||
} | ||
|
||
public void setCacheConfiguration(CacheConfiguration cacheConfiguration) { | ||
this.cacheConfiguration = cacheConfiguration; | ||
} | ||
|
||
} |