public class ServiceBean<X> extends ProducerBean<X>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceBean.Callback |
| Modifier and Type | Method and Description |
|---|---|
static <S> ServiceBean<S> |
anyBean(String id,
String protocol,
Boolean external,
Class<S> type) |
static void |
doWith(Type type,
ServiceBean.Callback callback) |
static <S> ServiceBean<S> |
getBean(String name,
String protocol,
String alias,
Boolean external,
Class<S> type) |
static Collection<ServiceBean> |
getBeans() |
String |
getServiceAlias() |
Boolean |
getServiceExternal() |
String |
getServiceName() |
String |
getServiceProtocol() |
String |
toString() |
ServiceBean |
withProducer(javax.enterprise.inject.spi.Producer producer) |
create, destroy, equals, getProducer, getScope, hashCodegetBeanClass, getId, getInjectionPoints, getName, getQualifiers, getStereotypes, getTypes, isAlternative, isNullablepublic static <S> ServiceBean<S> getBean(String name, String protocol, String alias, Boolean external, Class<S> type)
public static <S> ServiceBean<S> anyBean(String id, String protocol, Boolean external, Class<S> type)
public static final Collection<ServiceBean> getBeans()
public static void doWith(Type type, ServiceBean.Callback callback)
public ServiceBean withProducer(javax.enterprise.inject.spi.Producer producer)
public String getServiceName()
public String getServiceProtocol()
public String getServiceAlias()
public Boolean getServiceExternal()
Copyright © 2011–2015 Red Hat. All rights reserved.