org.jboss.security.acl.ACLResourceFactory Maven / Gradle / Ivy
package org.jboss.security.acl;
import org.jboss.security.authorization.Resource;
/**
*
* This interface provides a factory for {@code Resource}s.
*
*
* @author Stefan Guilhen
*/
public interface ACLResourceFactory
{
/**
*
* Creates an instance of the {@code Resource} with the specified class name and id.
*
*
* @param resourceClassName the fully-qualified class name of the {@code Resource}.
* @param id the unique identifier of the {@code Resource}.
* @return a reference to the instantiated {@code Resource}.
*/
public Resource instantiateResource(String resourceClassName, Object id);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy