public class RequiredServiceInfo
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected RequiredServiceBinding | bindingThe default binding. | 
| protected java.util.List<UnparsedExpression> | interceptorsThe list of interceptors. | 
| protected boolean | multipleFlag if multiple services should be returned. | 
| protected ClassInfo | multiplextypeThe multiplex type. | 
| protected java.lang.String | nameThe component internal service name. | 
| protected java.util.List<NFRPropertyInfo> | nfpropertiesThe nf props. | 
| static java.lang.String | SCOPE_APPLICATIONApplication scope. | 
| static java.lang.String | SCOPE_COMPONENTComponent scope. | 
| static java.lang.String | SCOPE_GLOABL_APPLICATIONGlobal Application scope. | 
| static java.lang.String | SCOPE_GLOBALGlobal scope. | 
| static java.lang.String | SCOPE_LOCALLocal component scope. | 
| static java.lang.String | SCOPE_NONENone component scope (nothing will be searched). | 
| static java.lang.String | SCOPE_PARENTParent scope. | 
| static java.lang.String | SCOPE_PLATFORMPlatform scope. | 
| protected java.util.Collection<java.lang.String> | tagsThe service tags to search for. | 
| protected ClassInfo | typeThe type. | 
| Constructor and Description | 
|---|
| RequiredServiceInfo()Create a new service info. | 
| RequiredServiceInfo(java.lang.Class<?> type)Create a new service info. | 
| RequiredServiceInfo(java.lang.String name,
                   java.lang.Class<?> type)Create a new service info. | 
| RequiredServiceInfo(java.lang.String name,
                   java.lang.Class<?> type,
                   boolean multiple,
                   java.lang.Class<?> multiplextype,
                   RequiredServiceBinding binding,
                   java.util.List<NFRPropertyInfo> nfprops,
                   java.util.Collection<java.lang.String> tags)Create a new service info. | 
| RequiredServiceInfo(java.lang.String name,
                   java.lang.Class<?> type,
                   java.lang.String scope,
                   java.lang.Class<?> multiplextype)Create a new service info. | 
| RequiredServiceInfo(java.lang.String name,
                   ClassInfo type,
                   boolean multiple,
                   ClassInfo multiplextype,
                   RequiredServiceBinding binding,
                   java.util.List<NFRPropertyInfo> nfprops,
                   java.util.Collection<java.lang.String> tags)Create a new service info. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addInterceptor(UnparsedExpression interceptor)Add an interceptor. | 
| RequiredServiceBinding | getDefaultBinding()Get the binding. | 
| UnparsedExpression[] | getInterceptors()Get the interceptors. | 
| ClassInfo | getMultiplexType()Get the multiplextype. | 
| java.lang.String | getName()Get the name. | 
| java.util.List<NFRPropertyInfo> | getNFRProperties()Get the nfproperties. | 
| java.util.Collection<java.lang.String> | getTags()Get the tags. | 
| ClassInfo | getType()Get the type. | 
| boolean | isMultiple()Get the multiple. | 
| void | removeInterceptor(UnparsedExpression interceptor)Remove an interceptor. | 
| void | setDefaultBinding(RequiredServiceBinding binding)Set the binding. | 
| void | setMultiple(boolean multiple)Set the multiple. | 
| void | setMultiplexType(ClassInfo multiplextype)Set the multiplextype. | 
| void | setName(java.lang.String name)Set the name. | 
| void | setNFRProperties(java.util.List<NFRPropertyInfo> nfproperties)Set the nfproperties. | 
| void | setTags(java.util.Collection<java.lang.String> tags)Set the tags. | 
| void | setType(ClassInfo type)Set the type. | 
public static final java.lang.String SCOPE_NONE
public static final java.lang.String SCOPE_LOCAL
public static final java.lang.String SCOPE_COMPONENT
public static final java.lang.String SCOPE_APPLICATION
public static final java.lang.String SCOPE_PLATFORM
public static final java.lang.String SCOPE_GLOBAL
public static final java.lang.String SCOPE_GLOABL_APPLICATION
public static final java.lang.String SCOPE_PARENT
protected java.lang.String name
protected ClassInfo type
protected java.util.Collection<java.lang.String> tags
protected boolean multiple
protected ClassInfo multiplextype
protected RequiredServiceBinding binding
protected java.util.List<UnparsedExpression> interceptors
protected java.util.List<NFRPropertyInfo> nfproperties
public RequiredServiceInfo()
public RequiredServiceInfo(java.lang.String name,
                           java.lang.Class<?> type)
public RequiredServiceInfo(java.lang.Class<?> type)
public RequiredServiceInfo(java.lang.String name,
                           java.lang.Class<?> type,
                           java.lang.String scope,
                           java.lang.Class<?> multiplextype)
public RequiredServiceInfo(java.lang.String name,
                           java.lang.Class<?> type,
                           boolean multiple,
                           java.lang.Class<?> multiplextype,
                           RequiredServiceBinding binding,
                           java.util.List<NFRPropertyInfo> nfprops,
                           java.util.Collection<java.lang.String> tags)
public RequiredServiceInfo(java.lang.String name,
                           ClassInfo type,
                           boolean multiple,
                           ClassInfo multiplextype,
                           RequiredServiceBinding binding,
                           java.util.List<NFRPropertyInfo> nfprops,
                           java.util.Collection<java.lang.String> tags)
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public ClassInfo getType()
public void setType(ClassInfo type)
type - The type to set.public ClassInfo getMultiplexType()
public void setMultiplexType(ClassInfo multiplextype)
multiplextype - The multiplextype to set.public boolean isMultiple()
public void setMultiple(boolean multiple)
multiple - The multiple to set.public RequiredServiceBinding getDefaultBinding()
public void setDefaultBinding(RequiredServiceBinding binding)
binding - The binding to set.public void addInterceptor(UnparsedExpression interceptor)
interceptor - The interceptor.public void removeInterceptor(UnparsedExpression interceptor)
interceptor - The interceptor.public UnparsedExpression[] getInterceptors()
public java.util.List<NFRPropertyInfo> getNFRProperties()
public void setNFRProperties(java.util.List<NFRPropertyInfo> nfproperties)
nfproperties - The nfproperties to set.public java.util.Collection<java.lang.String> getTags()
public void setTags(java.util.Collection<java.lang.String> tags)
tags - The tags to set