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


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