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,
String port,
String path,
Boolean endpoint,
Boolean external,
Type type) |
static void |
doWith(Type type,
ServiceBean.Callback callback) |
static <S> ServiceBean<S> |
getBean(String name,
String protocol,
String port,
String path,
String alias,
Boolean endpoint,
Boolean external,
Type type) |
static Collection<ServiceBean> |
getBeans() |
String |
getServiceAlias() |
Boolean |
getServiceEndpoint() |
Boolean |
getServiceExternal() |
String |
getServiceName() |
String |
getServicePath() |
String |
getServicePort() |
String |
getServiceProtocol() |
String |
toString() |
ServiceBean |
withProducer(javax.enterprise.inject.spi.Producer producer) |
create, destroy, equals, getProducer, getScope, hashCode
getBeanClass, getId, getInjectionPoints, getName, getQualifiers, getStereotypes, getTypes, isAlternative, isNullable
public static <S> ServiceBean<S> getBean(String name, String protocol, String port, String path, String alias, Boolean endpoint, Boolean external, Type type)
public static <S> ServiceBean<S> anyBean(String id, String protocol, String port, String path, Boolean endpoint, Boolean external, Type 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 String getServicePort()
public String getServicePath()
public Boolean getServiceEndpoint()
public Boolean getServiceExternal()
Copyright © 2011–2015 Red Hat. All rights reserved.