public class EntityBeanComponentDescription extends EJBComponentDescription
Constructor and Description |
---|
EntityBeanComponentDescription(String componentName,
String componentClassName,
EjbJarDescription ejbJarDescription,
org.jboss.msc.service.ServiceName deploymentUnitServiceName,
org.jboss.metadata.ejb.spec.EntityBeanMetaData descriptorData) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCurrentInvocationContextFactory()
Setup the current invocation context interceptor, which will be used during the post-construct
lifecycle of the component instance
|
protected void |
addCurrentInvocationContextFactory(ViewDescription view)
Setup the current invocation context interceptor, which will be used during the invocation on the view (methods)
|
protected void |
addRemoveInterceptor() |
protected void |
addSynchronizationInterceptor() |
ComponentConfiguration |
createConfiguration(ClassIndex classIndex,
ClassLoader moduleClassLoader,
org.jboss.modules.ModuleLoader moduleLoader) |
protected ComponentConfiguration |
createEntityBeanConfiguration(ClassIndex classIndex,
ClassLoader moduleClassLoader,
org.jboss.modules.ModuleLoader moduleLoader) |
protected EntityBeanHomeViewConfigurator |
getHomeViewConfigurator() |
protected EntityBeanObjectViewConfigurator |
getObjectViewConfigurator() |
org.jboss.metadata.ejb.spec.PersistenceType |
getPersistenceType() |
String |
getPoolConfigName() |
String |
getPrimaryKeyType() |
protected ViewInstanceFactory |
getRemoteViewInstanceFactory(String applicationName,
String moduleName,
String distinctName,
String componentName) |
protected org.jboss.invocation.InterceptorFactory |
getSynchronizationInterceptorFactory() |
boolean |
isEntity() |
boolean |
isReentrant() |
boolean |
isTimerServiceApplicable()
TODO: change this to a per method setting
|
void |
setPersistenceType(org.jboss.metadata.ejb.spec.PersistenceType persistenceType) |
void |
setPoolConfigName(String poolConfigName) |
void |
setPrimaryKeyType(String primaryKeyType) |
void |
setReentrant(boolean reentrant) |
protected void |
setupViewInterceptors(EJBViewDescription view) |
addDeclaredRoles, addEjbLocalObjectView, addEjbObjectView, addLocalHome, addRemoteHome, addRemoteTransactionsRepositoryDependency, addScheduleMethod, getAnnotationMethodPermissions, getDeclaredRoles, getDescriptorData, getDescriptorMethodPermissions, getEJBClassName, getEjbHomeView, getEjbLocalHomeView, getEjbLocalView, getEJBName, getEjbRemoteView, getRunAs, getRunAsPrincipal, getScheduleMethods, getSecurityDomain, getSecurityRoleLinks, getSecurityRoles, getTimeoutMethod, getTimerService, getTransactionAttributes, getTransactionManagementType, getTransactionTimeouts, isExposedViaIiop, isMessageDriven, isSecurityEnabled, isSession, isSingleton, isStateful, isStateless, linkSecurityRoles, registerView, registerView, setDeclaredRoles, setExposedViaIiop, setRunAs, setRunAsPrincipal, setSecurityDomain, setSecurityRoles, setTimeoutMethod, setTimerService, setTransactionManagementType, setupClientViewInterceptors, setupSecurityInterceptors, toString
addClassInterceptor, addDependency, addInterceptorMethodOverride, addMethodInterceptor, addResourceInjection, excludeClassInterceptors, excludeDefaultInterceptors, getAllInterceptors, getApplicationName, getBeanDeploymentArchiveId, getBindingConfigurations, getClassInterceptor, getClassInterceptors, getComponentClassName, getComponentName, getConfigurators, getContextServiceName, getCreateServiceName, getDefaultInterceptors, getDependencies, getDeploymentDescriptorEnvironment, getMethodInterceptors, getModuleDescription, getModuleName, getNamingMode, getResourceInjections, getServiceName, getStartServiceName, getViews, isExcludeClassInterceptors, isExcludeDefaultInterceptors, isExcludeDefaultInterceptors, isIntercepted, isOptional, isPassivationApplicable, setBeanDeploymentArchiveId, setClassInterceptors, setContextServiceName, setDefaultInterceptors, setDeploymentDescriptorEnvironment, setExcludeDefaultInterceptors, setMethodInterceptors, setNamingMode
public EntityBeanComponentDescription(String componentName, String componentClassName, EjbJarDescription ejbJarDescription, org.jboss.msc.service.ServiceName deploymentUnitServiceName, org.jboss.metadata.ejb.spec.EntityBeanMetaData descriptorData)
protected void addRemoveInterceptor()
protected void addCurrentInvocationContextFactory()
EJBComponentDescription
addCurrentInvocationContextFactory
in class EJBComponentDescription
protected void addCurrentInvocationContextFactory(ViewDescription view)
EJBComponentDescription
addCurrentInvocationContextFactory
in class EJBComponentDescription
view
- The view for which the interceptor has to be setuppublic final ComponentConfiguration createConfiguration(ClassIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader)
createConfiguration
in class ComponentDescription
protected ComponentConfiguration createEntityBeanConfiguration(ClassIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader)
protected void setupViewInterceptors(EJBViewDescription view)
setupViewInterceptors
in class EJBComponentDescription
public boolean isEntity()
isEntity
in class EJBComponentDescription
protected EntityBeanObjectViewConfigurator getObjectViewConfigurator()
protected EntityBeanHomeViewConfigurator getHomeViewConfigurator()
protected ViewInstanceFactory getRemoteViewInstanceFactory(String applicationName, String moduleName, String distinctName, String componentName)
protected void addSynchronizationInterceptor()
protected org.jboss.invocation.InterceptorFactory getSynchronizationInterceptorFactory()
public String getPrimaryKeyType()
public void setPrimaryKeyType(String primaryKeyType)
public boolean isReentrant()
public void setReentrant(boolean reentrant)
public org.jboss.metadata.ejb.spec.PersistenceType getPersistenceType()
public void setPersistenceType(org.jboss.metadata.ejb.spec.PersistenceType persistenceType)
public boolean isTimerServiceApplicable()
ComponentDescription
isTimerServiceApplicable
in class ComponentDescription
public String getPoolConfigName()
public void setPoolConfigName(String poolConfigName)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.