All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.as.clustering.controller.CommonServiceDescriptor Maven / Gradle / Ivy

Go to download

The code in this module is not explicitly related to clustering, but rather contains resuable code used by clustering modules and any modules that integrate with clustering.

The newest version!
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.jboss.as.clustering.controller;

import java.security.KeyStore;

import javax.management.MBeanServer;
import javax.net.ssl.SSLContext;
import javax.sql.DataSource;

import org.wildfly.security.credential.store.CredentialStore;
import org.wildfly.service.descriptor.NullaryServiceDescriptor;
import org.wildfly.service.descriptor.UnaryServiceDescriptor;

/**
 * Service descriptors for clustering dependencies whose providing modules do not yet expose their provided capabilities via descriptor.
 * @author Paul Ferraro
 */
public interface CommonServiceDescriptor {
    NullaryServiceDescriptor MBEAN_SERVER = NullaryServiceDescriptor.of("org.wildfly.management.jmx", MBeanServer.class);

    UnaryServiceDescriptor DATA_SOURCE = UnaryServiceDescriptor.of("org.wildfly.data-source", DataSource.class);

    UnaryServiceDescriptor CREDENTIAL_STORE = UnaryServiceDescriptor.of("org.wildfly.security.credential-store", CredentialStore.class);
    UnaryServiceDescriptor KEY_STORE = UnaryServiceDescriptor.of("org.wildfly.security.key-store", KeyStore.class);
    UnaryServiceDescriptor SSL_CONTEXT = UnaryServiceDescriptor.of("org.wildfly.security.ssl-context", SSLContext.class);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy