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

org.jboss.as.ee.component.EEClassIntrospector 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.component;

import org.jboss.as.naming.ManagedReference;
import org.jboss.as.naming.ManagedReferenceFactory;

/**
 *
 *
 * @author Stuart Douglas
 */
public interface EEClassIntrospector {

    ManagedReferenceFactory createFactory(final Class clazz);

    /**
     * Returns the managed reference of an new instance.
     * @param instance an object instance
     * @return a managed reference
     */
    ManagedReference createInstance(Object instance);

    /**
     * Returns the managed reference of an existing instance.
     * @param instance an object instance
     * @return a managed reference
     */
    ManagedReference getInstance(Object instance);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy