JBoss MetaData Repository 2.2.0.SP1

org.jboss.metadata.plugins.scope
Class ApplicationScopeFactory

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

public class ApplicationScopeFactory
extends Object
implements ScopeFactory<ApplicationScope>

Factory for creating Application scope key from ApplicationScope annotation.

Author:
Ales Justin

Constructor Summary
ApplicationScopeFactory()
           
 
Method Summary
 Scope create(ApplicationScope 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

ApplicationScopeFactory

public ApplicationScopeFactory()
Method Detail

create

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

Specified by:
create in interface ScopeFactory<ApplicationScope>
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.