org.jboss.metadata.plugins.scope
Class InstanceScopeFactory

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

public class InstanceScopeFactory
extends Object
implements ScopeFactory<InstanceScope>

Factory for creating Instance scope key from InstanceScope annotation.

Author:
Ales Justin

Constructor Summary
InstanceScopeFactory()
           
 
Method Summary
 Scope create(InstanceScope 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

InstanceScopeFactory

public InstanceScopeFactory()
Method Detail

create

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

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


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