Class SessionManagementServiceConfigurator<C extends org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit>>

  • All Implemented Interfaces:
    Supplier<DistributableSessionManagementProvider<C>>, org.jboss.as.clustering.controller.ResourceServiceConfigurator, org.wildfly.clustering.service.ServiceConfigurator, org.wildfly.clustering.service.ServiceNameProvider, org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit>
    Direct Known Subclasses:
    HotRodSessionManagementServiceConfigurator, InfinispanSessionManagementServiceConfigurator

    public abstract class SessionManagementServiceConfigurator<C extends org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit>>
    extends org.jboss.as.clustering.controller.CapabilityServiceNameProvider
    implements org.jboss.as.clustering.controller.ResourceServiceConfigurator, org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit>, Supplier<DistributableSessionManagementProvider<C>>
    Abstract service configurator for session management providers.
    Author:
    Paul Ferraro
    • Method Detail

      • configure

        public org.wildfly.clustering.service.ServiceConfigurator configure​(org.jboss.as.controller.OperationContext context,
                                                                            org.jboss.dmr.ModelNode model)
                                                                     throws org.jboss.as.controller.OperationFailedException
        Specified by:
        configure in interface org.jboss.as.clustering.controller.ResourceServiceConfigurator
        Throws:
        org.jboss.as.controller.OperationFailedException
      • build

        public org.jboss.msc.service.ServiceBuilder<?> build​(org.jboss.msc.service.ServiceTarget target)
        Specified by:
        build in interface org.wildfly.clustering.service.ServiceConfigurator
      • getAttributePersistenceStrategy

        public org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy getAttributePersistenceStrategy()
        Specified by:
        getAttributePersistenceStrategy in interface org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<C extends org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit>>
      • getMarshallerFactory

        public Function<org.jboss.as.server.deployment.DeploymentUnit,​org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller> getMarshallerFactory()
        Specified by:
        getMarshallerFactory in interface org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<C extends org.wildfly.clustering.web.session.DistributableSessionManagementConfiguration<org.jboss.as.server.deployment.DeploymentUnit>>