Change all configuration based, JavaBean property accessor methods (getters) to public.

This commit is contained in:
John Blum
2018-11-21 16:29:08 -08:00
parent 153568d05c
commit 2a30b08d25

View File

@@ -280,7 +280,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
* of the {@link ClientCache} {@link Region}.
* @see org.apache.geode.cache.client.ClientRegionShortcut
*/
protected ClientRegionShortcut getClientRegionShortcut() {
public ClientRegionShortcut getClientRegionShortcut() {
return Optional.ofNullable(this.clientRegionShortcut)
.orElse(DEFAULT_CLIENT_REGION_SHORTCUT);
@@ -303,7 +303,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
* @return an array of {@link String Strings} containing the names of all {@link Session} attributes
* for which an Index will be created. Defaults to an empty array if unspecified.
*/
protected String[] getIndexableSessionAttributes() {
public String[] getIndexableSessionAttributes() {
return Optional.ofNullable(this.indexableSessionAttributes)
.orElse(DEFAULT_INDEXABLE_SESSION_ATTRIBUTES);
@@ -326,7 +326,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
* @return an integer value specifying the maximum interval in seconds that a {@link Session} can remain inactive
* before it expires.
*/
protected int getMaxInactiveIntervalInSeconds() {
public int getMaxInactiveIntervalInSeconds() {
return this.maxInactiveIntervalInSeconds;
}
@@ -348,7 +348,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
* @return a {@link String} containing the name of a {@link Pool}.
* @see org.apache.geode.cache.client.Pool#getName()
*/
protected String getPoolName() {
public String getPoolName() {
return Optional.ofNullable(this.poolName)
.filter(StringUtils::hasText)
@@ -380,7 +380,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
* of the {@link Cache} {@link Region}.
* @see org.apache.geode.cache.RegionShortcut
*/
protected RegionShortcut getServerRegionShortcut() {
public RegionShortcut getServerRegionShortcut() {
return Optional.ofNullable(this.serverRegionShortcut)
.orElse(DEFAULT_SERVER_REGION_SHORTCUT);
@@ -390,7 +390,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
this.sessionExpirationPolicyBeanName = sessionExpirationPolicyBeanName;
}
protected Optional<String> getSessionExpirationPolicyBeanName() {
public Optional<String> getSessionExpirationPolicyBeanName() {
return Optional.ofNullable(this.sessionExpirationPolicyBeanName)
.filter(StringUtils::hasText);
@@ -414,7 +414,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
* used to store {@link Session} state.
* @see org.apache.geode.cache.Region#getName()
*/
protected String getSessionRegionName() {
public String getSessionRegionName() {
return Optional.ofNullable(this.sessionRegionName)
.filter(StringUtils::hasText)
@@ -452,7 +452,7 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
* @see org.springframework.session.data.gemfire.serialization.data.provider.DataSerializableSessionSerializer
* @see org.springframework.session.data.gemfire.serialization.SessionSerializer
*/
protected String getSessionSerializerBeanName() {
public String getSessionSerializerBeanName() {
return Optional.ofNullable(this.sessionSerializerBeanName)
.filter(StringUtils::hasText)