org.apache.openejb.cdi
Class CdiBeanInfo

java.lang.Object
  extended by org.apache.openejb.cdi.CdiBeanInfo
All Implemented Interfaces:
JndiConsumer

public class CdiBeanInfo
extends Object
implements JndiConsumer


Field Summary
protected  KeyedCollection<String,DataSource> dataSource
           
protected  KeyedCollection<String,EjbLocalRef> ejbLocalRef
           
protected  KeyedCollection<String,EjbRef> ejbRef
           
protected  KeyedCollection<String,EnvEntry> envEntry
           
protected  KeyedCollection<String,MessageDestinationRef> messageDestinationRef
           
protected  KeyedCollection<String,PersistenceContextRef> persistenceContextRef
           
protected  KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
           
protected  List<LifecycleCallback> postActivate
           
protected  List<LifecycleCallback> postConstruct
           
protected  List<LifecycleCallback> preDestroy
           
protected  List<LifecycleCallback> prePassivate
           
protected  KeyedCollection<String,ResourceEnvRef> resourceEnvRef
           
protected  KeyedCollection<String,ResourceRef> resourceRef
           
protected  SecurityIdentity securityIdentity
           
protected  List<SecurityRoleRef> securityRoleRef
           
protected  KeyedCollection<String,ServiceRef> serviceRef
           
 
Constructor Summary
CdiBeanInfo()
           
 
Method Summary
 List<LifecycleCallback> getAfterBegin()
           
 List<LifecycleCallback> getAfterCompletion()
           
 Class<?> getBeanClass()
           
 String getBeanName()
           
 List<LifecycleCallback> getBeforeCompletion()
           
 ClassLoader getClassLoader()
           
 Collection<DataSource> getDataSource()
           
 Map<String,DataSource> getDataSourceMap()
           
 Collection<EjbLocalRef> getEjbLocalRef()
           
 Map<String,EjbLocalRef> getEjbLocalRefMap()
           
 Collection<EjbRef> getEjbRef()
           
 Map<String,EjbRef> getEjbRefMap()
           
 Collection<EnvEntry> getEnvEntry()
           
 Map<String,EnvEntry> getEnvEntryMap()
           
 List<Injection> getInjections()
           
 String getJndiConsumerName()
           
 Collection<MessageDestinationRef> getMessageDestinationRef()
           
 Map<String,MessageDestinationRef> getMessageDestinationRefMap()
           
 Collection<PersistenceContextRef> getPersistenceContextRef()
           
 Map<String,PersistenceContextRef> getPersistenceContextRefMap()
           
 Collection<PersistenceUnitRef> getPersistenceUnitRef()
           
 Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
           
 List<LifecycleCallback> getPostConstruct()
           
 Collection<ResourceEnvRef> getResourceEnvRef()
           
 Map<String,ResourceEnvRef> getResourceEnvRefMap()
           
 Collection<ResourceRef> getResourceRef()
           
 Map<String,ResourceRef> getResourceRefMap()
           
 SecurityIdentity getSecurityIdentity()
           
 List<SecurityRoleRef> getSecurityRoleRef()
           
 Collection<ServiceRef> getServiceRef()
           
 Map<String,ServiceRef> getServiceRefMap()
           
 void setBeanClass(Class<?> beanClass)
           
 void setBeanName(String beanName)
           
 void setClassLoader(ClassLoader classLoader)
           
 void setInjections(List<Injection> injections)
           
 void setSecurityIdentity(SecurityIdentity value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

envEntry

protected KeyedCollection<String,EnvEntry> envEntry

ejbRef

protected KeyedCollection<String,EjbRef> ejbRef

ejbLocalRef

protected KeyedCollection<String,EjbLocalRef> ejbLocalRef

serviceRef

protected KeyedCollection<String,ServiceRef> serviceRef

resourceRef

protected KeyedCollection<String,ResourceRef> resourceRef

resourceEnvRef

protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef

messageDestinationRef

protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef

persistenceContextRef

protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef

persistenceUnitRef

protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef

postConstruct

protected List<LifecycleCallback> postConstruct

preDestroy

protected List<LifecycleCallback> preDestroy

dataSource

protected KeyedCollection<String,DataSource> dataSource

postActivate

protected List<LifecycleCallback> postActivate

prePassivate

protected List<LifecycleCallback> prePassivate

securityRoleRef

protected List<SecurityRoleRef> securityRoleRef

securityIdentity

protected SecurityIdentity securityIdentity
Constructor Detail

CdiBeanInfo

public CdiBeanInfo()
Method Detail

getBeanName

public String getBeanName()

getInjections

public List<Injection> getInjections()

setInjections

public void setInjections(List<Injection> injections)

setBeanName

public void setBeanName(String beanName)

getClassLoader

public ClassLoader getClassLoader()

setClassLoader

public void setClassLoader(ClassLoader classLoader)

setBeanClass

public void setBeanClass(Class<?> beanClass)

getEnvEntry

public Collection<EnvEntry> getEnvEntry()
Specified by:
getEnvEntry in interface JndiConsumer

getEnvEntryMap

public Map<String,EnvEntry> getEnvEntryMap()
Specified by:
getEnvEntryMap in interface JndiConsumer

getEjbRef

public Collection<EjbRef> getEjbRef()
Specified by:
getEjbRef in interface JndiConsumer

getEjbRefMap

public Map<String,EjbRef> getEjbRefMap()
Specified by:
getEjbRefMap in interface JndiConsumer

getEjbLocalRef

public Collection<EjbLocalRef> getEjbLocalRef()
Specified by:
getEjbLocalRef in interface JndiConsumer

getEjbLocalRefMap

public Map<String,EjbLocalRef> getEjbLocalRefMap()
Specified by:
getEjbLocalRefMap in interface JndiConsumer

getServiceRef

public Collection<ServiceRef> getServiceRef()
Specified by:
getServiceRef in interface JndiConsumer

getServiceRefMap

public Map<String,ServiceRef> getServiceRefMap()
Specified by:
getServiceRefMap in interface JndiConsumer

getResourceRef

public Collection<ResourceRef> getResourceRef()
Specified by:
getResourceRef in interface JndiConsumer

getResourceRefMap

public Map<String,ResourceRef> getResourceRefMap()
Specified by:
getResourceRefMap in interface JndiConsumer

getResourceEnvRef

public Collection<ResourceEnvRef> getResourceEnvRef()
Specified by:
getResourceEnvRef in interface JndiConsumer

getResourceEnvRefMap

public Map<String,ResourceEnvRef> getResourceEnvRefMap()
Specified by:
getResourceEnvRefMap in interface JndiConsumer

getMessageDestinationRef

public Collection<MessageDestinationRef> getMessageDestinationRef()
Specified by:
getMessageDestinationRef in interface JndiConsumer

getMessageDestinationRefMap

public Map<String,MessageDestinationRef> getMessageDestinationRefMap()
Specified by:
getMessageDestinationRefMap in interface JndiConsumer

getPersistenceContextRef

public Collection<PersistenceContextRef> getPersistenceContextRef()
Specified by:
getPersistenceContextRef in interface JndiConsumer

getPersistenceContextRefMap

public Map<String,PersistenceContextRef> getPersistenceContextRefMap()
Specified by:
getPersistenceContextRefMap in interface JndiConsumer

getPersistenceUnitRef

public Collection<PersistenceUnitRef> getPersistenceUnitRef()
Specified by:
getPersistenceUnitRef in interface JndiConsumer

getPersistenceUnitRefMap

public Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
Specified by:
getPersistenceUnitRefMap in interface JndiConsumer

getPostConstruct

public List<LifecycleCallback> getPostConstruct()

getSecurityRoleRef

public List<SecurityRoleRef> getSecurityRoleRef()

getSecurityIdentity

public SecurityIdentity getSecurityIdentity()

setSecurityIdentity

public void setSecurityIdentity(SecurityIdentity value)

getAfterBegin

public List<LifecycleCallback> getAfterBegin()

getAfterCompletion

public List<LifecycleCallback> getAfterCompletion()

getBeforeCompletion

public List<LifecycleCallback> getBeforeCompletion()

getDataSource

public Collection<DataSource> getDataSource()
Specified by:
getDataSource in interface JndiConsumer

getDataSourceMap

public Map<String,DataSource> getDataSourceMap()
Specified by:
getDataSourceMap in interface JndiConsumer

getJndiConsumerName

public String getJndiConsumerName()
Specified by:
getJndiConsumerName in interface JndiConsumer

getBeanClass

public Class<?> getBeanClass()


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.