public class SingletonBeanDef<T,B extends T> extends Object implements org.jboss.errai.ioc.client.container.SyncBeanDef<T>
| Constructor and Description |
|---|
SingletonBeanDef(B instance,
Class<T> type,
Set<Annotation> qualifiers,
String name,
boolean activated,
Class<?>... otherAssignableTypes) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getBeanClass() |
T |
getInstance() |
String |
getName() |
Set<Annotation> |
getQualifiers() |
Class<? extends Annotation> |
getScope() |
Class<T> |
getType() |
boolean |
isActivated() |
boolean |
isAssignableTo(Class<?> type) |
boolean |
matches(Set<Annotation> annotations) |
T |
newInstance() |
public Class<T> getType()
getType in interface org.jboss.errai.ioc.client.container.IOCBeanDef<T>public Class<?> getBeanClass()
getBeanClass in interface org.jboss.errai.ioc.client.container.IOCBeanDef<T>public Class<? extends Annotation> getScope()
getScope in interface org.jboss.errai.ioc.client.container.IOCBeanDef<T>public T getInstance()
getInstance in interface org.jboss.errai.ioc.client.container.SyncBeanDef<T>public T newInstance()
newInstance in interface org.jboss.errai.ioc.client.container.SyncBeanDef<T>public Set<Annotation> getQualifiers()
getQualifiers in interface org.jboss.errai.ioc.client.container.IOCBeanDef<T>public boolean matches(Set<Annotation> annotations)
matches in interface org.jboss.errai.ioc.client.container.IOCBeanDef<T>public String getName()
getName in interface org.jboss.errai.ioc.client.container.IOCBeanDef<T>public boolean isActivated()
isActivated in interface org.jboss.errai.ioc.client.container.IOCBeanDef<T>Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.