Class EJBComponent

    • Constructor Detail

      • EJBComponent

        protected EJBComponent​(EJBComponentCreateService ejbComponentCreateService)
        Construct a new instance.
        Parameters:
        ejbComponentCreateService - the component configuration
    • Method Detail

      • createViewInstanceProxy

        protected <T> T createViewInstanceProxy​(Class<T> viewInterface,
                                                Map<Object,​Object> contextData)
      • createViewInstanceProxy

        protected <T> T createViewInstanceProxy​(Class<T> viewInterface,
                                                Map<Object,​Object> contextData,
                                                org.jboss.msc.service.ServiceName serviceName)
      • getCallerPrincipal

        public Principal getCallerPrincipal()
      • getIncomingRunAsIdentity

        public org.wildfly.security.auth.server.SecurityIdentity getIncomingRunAsIdentity()
      • setIncomingRunAsIdentity

        public void setIncomingRunAsIdentity​(org.wildfly.security.auth.server.SecurityIdentity identity)
      • getCurrentTransactionAttribute

        protected javax.ejb.TransactionAttributeType getCurrentTransactionAttribute()
      • getEjbObjectType

        public Class<?> getEjbObjectType()
      • getEjbLocalObjectType

        public Class<?> getEjbLocalObjectType()
      • getTransactionAttributeType

        public javax.ejb.TransactionAttributeType getTransactionAttributeType​(org.jboss.metadata.ejb.spec.MethodInterfaceType methodIntf,
                                                                              Method method)
      • getTransactionAttributeType

        public javax.ejb.TransactionAttributeType getTransactionAttributeType​(org.jboss.metadata.ejb.spec.MethodInterfaceType methodIntf,
                                                                              org.jboss.invocation.proxy.MethodIdentifier method)
      • getTransactionAttributeType

        public javax.ejb.TransactionAttributeType getTransactionAttributeType​(org.jboss.metadata.ejb.spec.MethodInterfaceType methodIntf,
                                                                              org.jboss.invocation.proxy.MethodIdentifier method,
                                                                              javax.ejb.TransactionAttributeType defaultType)
      • isTransactionAttributeTypeExplicit

        public boolean isTransactionAttributeTypeExplicit​(org.jboss.metadata.ejb.spec.MethodInterfaceType methodIntf,
                                                          org.jboss.invocation.proxy.MethodIdentifier method)
      • getTransactionManager

        @Deprecated
        public javax.transaction.TransactionManager getTransactionManager()
        Deprecated.
        Use ContextTransactionManager.getInstance() instead.
        Returns:
        the value of ContextTransactionManager.getInstance()
      • getTransactionSynchronizationRegistry

        public javax.transaction.TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
      • getTransactionTimeout

        public int getTransactionTimeout​(org.jboss.metadata.ejb.spec.MethodInterfaceType methodIntf,
                                         Method method)
      • getTransactionTimeout

        public int getTransactionTimeout​(org.jboss.metadata.ejb.spec.MethodInterfaceType methodIntf,
                                         org.jboss.invocation.proxy.MethodIdentifier method)
      • isBeanManagedTransaction

        public boolean isBeanManagedTransaction()
      • isStatisticsEnabled

        public boolean isStatisticsEnabled()
      • getTimeoutMethod

        public Method getTimeoutMethod()
      • getApplicationName

        public String getApplicationName()
      • getEarApplicationName

        public String getEarApplicationName()
      • getDistinctName

        public String getDistinctName()
      • getModuleName

        public String getModuleName()
      • getEjbLocalObjectViewServiceName

        public org.jboss.msc.service.ServiceName getEjbLocalObjectViewServiceName()
      • getEjbObjectViewServiceName

        public org.jboss.msc.service.ServiceName getEjbObjectViewServiceName()
      • getTimeoutInterceptors

        public Map<Method,​org.jboss.invocation.InterceptorFactory> getTimeoutInterceptors()
      • getControlPoint

        public org.wildfly.extension.requestcontroller.ControlPoint getControlPoint()
      • getSecurityDomain

        public org.wildfly.security.auth.server.SecurityDomain getSecurityDomain()
      • isSecurityDomainKnown

        public boolean isSecurityDomainKnown()
      • getIdentityOutflowFunction

        public Function<org.wildfly.security.auth.server.SecurityIdentity,​Set<org.wildfly.security.auth.server.SecurityIdentity>> getIdentityOutflowFunction()
      • done

        public void done()
        Specified by:
        done in interface org.jboss.as.server.suspend.ServerActivityCallback
      • isExceptionLoggingEnabled

        public boolean isExceptionLoggingEnabled()