org.ow2.util.ee.metadata.common.api.enc
Interface IENCBindingHolder
public interface IENCBindingHolder
Manage different types that need to be stored in ENC env.
- Author:
- Florent BENOIT
getPersistenceContextBindings
List<IENCBinding<IJavaxPersistenceContext>> getPersistenceContextBindings()
- Returns:
- the list of persistence context bindings.
getPersistenceUnitBindings
List<IENCBinding<IJavaxPersistenceUnit>> getPersistenceUnitBindings()
- Returns:
- the list of persistence unit bindings.
getResourceBindings
List<IENCBinding<IJAnnotationResource>> getResourceBindings()
- Returns:
- the list of resource bindings.
getEJBBindings
List<IENCBinding<IJEjbEJB>> getEJBBindings()
- Returns:
- the list of EJB bindings.
getWebServicesBindings
List<IENCBinding<IJaxwsWebServiceRef>> getWebServicesBindings()
- Returns:
- the list of WS bindings.
getFieldInjectionTargets
List<IInjectionTargetEnc> getFieldInjectionTargets(String className)
- Parameters:
className - the name of the class for which the fields are requested
- Returns:
- the injection target enc objects for a given classname
getMethodInjectionTargets
List<IInjectionTargetEnc> getMethodInjectionTargets(String className)
- Parameters:
className - the name of the class for which the methods are requested
- Returns:
- the injection target enc objects for a given classname
getInjectionMap
Map<String,Map<String,String>> getInjectionMap()
- List of fields/method that needs to be set for a given class.
- Returns:
- a map with key = classname and then map = field/attribute name <--> value
getDataSourceBindings
List<IENCBinding<IJAnnotationSqlDataSourceDefinition>> getDataSourceBindings()
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.