public class MockEjbDescriptor<T> extends Object implements org.jboss.weld.ejb.spi.EjbDescriptor<T>
Modifier and Type | Method and Description |
---|---|
Class<T> |
getBeanClass() |
String |
getEjbName() |
Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> |
getLocalBusinessInterfaces() |
String |
getLocalJndiName() |
Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> |
getRemoteBusinessInterfaces() |
Collection<Method> |
getRemoveMethods() |
boolean |
isMessageDriven() |
boolean |
isPassivationCapable() |
boolean |
isSingleton() |
boolean |
isStateful() |
boolean |
isStateless() |
static <T> MockEjbDescriptor<T> |
of(Class<T> type) |
String |
toString() |
public static <T> MockEjbDescriptor<T> of(Class<T> type)
public String getEjbName()
getEjbName
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
getLocalBusinessInterfaces
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
getRemoteBusinessInterfaces
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public Collection<Method> getRemoveMethods()
getRemoveMethods
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public Class<T> getBeanClass()
getBeanClass
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public boolean isMessageDriven()
isMessageDriven
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public boolean isSingleton()
isSingleton
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public boolean isStateful()
isStateful
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public boolean isStateless()
isStateless
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
public String getLocalJndiName()
public boolean isPassivationCapable()
isPassivationCapable
in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
Copyright © 2017 JBoss by Red Hat. All rights reserved.