Class CachingSerializationSecurityConfigAccessor
java.lang.Object
com.atlassian.bamboo.agent.remote.serialization.CachingSerializationSecurityConfigAccessor
- All Implemented Interfaces:
SerializationSecurityConfigAccessor
public class CachingSerializationSecurityConfigAccessor
extends Object
implements SerializationSecurityConfigAccessor
Class returns default SerializationSecurityConfig until AgentRegisteredEvent appears,
from that point administrationConfigurationAccessor is used to get this property.
-
Constructor Summary
ConstructorDescriptionCachingSerializationSecurityConfigAccessor
(com.atlassian.event.api.EventPublisher eventPublisher, CachingAdministrationConfigurationAccessor administrationConfigurationAccessor) -
Method Summary
-
Constructor Details
-
CachingSerializationSecurityConfigAccessor
@Autowired public CachingSerializationSecurityConfigAccessor(com.atlassian.event.api.EventPublisher eventPublisher, CachingAdministrationConfigurationAccessor administrationConfigurationAccessor)
-
-
Method Details
-
getSerializationSecurityConfig
- Specified by:
getSerializationSecurityConfig
in interfaceSerializationSecurityConfigAccessor
-
onAgentRegisteredEvent
-
onAdministrationConfigurationUpdatedEvent
@EventListener public void onAdministrationConfigurationUpdatedEvent(AdministrationConfigurationUpdatedEvent event) -
onNodePromotedToPrimary
-