JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.spi.scope
Interface ScopeFactory<T extends Annotation>

Type Parameters:
T - the scope annotation
All Known Implementing Classes:
ApplicationScopeFactory, DeploymentScopeFactory, InstanceScopeFactory

public interface ScopeFactory<T extends Annotation>

Factory to create Scope from annotation.

Author:
Ales Justin

Method Summary
 Scope create(T annotation)
          Create ScopeKey from scope annotation instance
 

Method Detail

create

Scope create(T annotation)
Create ScopeKey from scope annotation instance

Parameters:
annotation - scope annotation
Returns:
scope key from scope annotation

JBoss MetaData Repository 2.2.0.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.