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

org.jboss.as.ee.metadata.AnnotationMetadata Maven / Gradle / Ivy

There is a newer version: 35.0.0.Beta1
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */
package org.jboss.as.ee.metadata;

import java.lang.reflect.Method;
import java.util.Collections;
import java.util.Map;

/**
 * Represents a piece of component metadata
 *
 * @author Stuart Douglas
 */
public class AnnotationMetadata {

    private final T componentDefault;

    private final Map methodOverrides;

    public AnnotationMetadata(final T componentDefault, final Map methodOverrides) {
        this.componentDefault = componentDefault;
        this.methodOverrides = Collections.unmodifiableMap(methodOverrides);
    }

    public T getComponentDefault() {
        return componentDefault;
    }

    public Map getMethodOverrides() {
        return methodOverrides;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy