@Configuration(value="hazelcastTicketRegistryConfiguration")
@EnableConfigurationProperties(value=org.apereo.cas.configuration.CasConfigurationProperties.class)
public class HazelcastTicketRegistryConfiguration
extends java.lang.Object
HazelcastInstance that is consumed and used by
HazelcastTicketRegistry.
This configuration class has the smarts to choose the configuration source for the HazelcastInstance
that it produces by either loading the native hazelcast XML config file from a resource location
or it creates the HazelcastInstance programmatically
with a handful properties and their defaults (if not set) that it exposes to CAS deployers.
| Constructor and Description |
|---|
HazelcastTicketRegistryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.hazelcast.core.HazelcastInstance |
hazelcast(org.apereo.cas.ticket.TicketCatalog ticketCatalog) |
org.apereo.cas.ticket.registry.TicketRegistry |
ticketRegistry(org.apereo.cas.ticket.TicketCatalog ticketCatalog) |
org.apereo.cas.ticket.registry.TicketRegistryCleaner |
ticketRegistryCleaner(org.apereo.cas.ticket.TicketCatalog ticketCatalog) |
public HazelcastTicketRegistryConfiguration()
@Autowired
@Bean
public org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry(@Qualifier(value="ticketCatalog")
org.apereo.cas.ticket.TicketCatalog ticketCatalog)
@Autowired
@Bean
public org.apereo.cas.ticket.registry.TicketRegistryCleaner ticketRegistryCleaner(@Qualifier(value="ticketCatalog")
org.apereo.cas.ticket.TicketCatalog ticketCatalog)
@Autowired
@Bean
public com.hazelcast.core.HazelcastInstance hazelcast(@Qualifier(value="ticketCatalog")
org.apereo.cas.ticket.TicketCatalog ticketCatalog)