org.jboss.metadata.plugins.scope
Class DeploymentScopeFactory

java.lang.Object
  extended by org.jboss.metadata.plugins.scope.DeploymentScopeFactory
All Implemented Interfaces:
ScopeFactory<DeploymentScope>

public class DeploymentScopeFactory
extends Object
implements ScopeFactory<DeploymentScope>

Factory for creating Deployment scope key from DeploymentScope annotation.

Author:
Ales Justin

Constructor Summary
DeploymentScopeFactory()
           
 
Method Summary
 Scope create(DeploymentScope annotation)
          Create ScopeKey from scope annotation instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentScopeFactory

public DeploymentScopeFactory()
Method Detail

create

public Scope create(DeploymentScope annotation)
Description copied from interface: ScopeFactory
Create ScopeKey from scope annotation instance

Specified by:
create in interface ScopeFactory<DeploymentScope>
Parameters:
annotation - scope annotation
Returns:
scope key from scope annotation


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