Class SleeComponentElement
- java.lang.Object
-
- com.opencloud.slee.mlet.ant.SleeComponentElement
-
public class SleeComponentElement extends Object
A common nested element of many Rhino management sub tasks used to identify a SLEE component
A
component
nested element is used in a Rhino management sub task do identify a SLEE component using a uniquename
,vendor
,version
combination. These three fields must be unique within each component type and are sufficient to identify any component when the type of the component cam be inferred by the surrounding sub task. An optional parameter,type
should be used when the surrounding sub task is not component type specific.NB: Generally sub tasks that accept a
component
nested element also accept a canonical name attribute to identify the component. Either the canonical name attribute or component element should be specified, but not both.Ant Parameters Attribute
Description
Required
name
The name of the component.
Yes.
vendor
The component’s vendor.
Yes.
version
The component’s version.
Yes.
type
Indicates the type of component. See below for allowable component types..
No. Only valid if the component type is not inferrable based on the encapsulating sub task.
The following names are valid identifiers for a component type in the
type
attribute .-
event - event type
-
library - library
-
pspec - profile specification
-
ra - resource adaptor
-
ratype - resource adaptor type
-
sbb - sbb
-
sbbpart - sbb part
-
service - service
-
binding - binding descriptor
-
-
-
Constructor Summary
Constructors Constructor Description SleeComponentElement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentID
createComponentID()
ComponentID
createComponentID(String componentType)
static ComponentID
createComponentID(String componentType, String name, String vendor, String version)
static String
getComponentType(ComponentID id)
String
getName()
String
getType()
String
getVendor()
String
getVersion()
void
setName(String name)
void
setType(String type)
void
setVendor(String vendor)
void
setVersion(String version)
String
toString()
-
-
-
Field Detail
-
EVENT
public static final String EVENT
- See Also:
- Constant Field Values
-
LIBRARY
public static final String LIBRARY
- See Also:
- Constant Field Values
-
PROFILE_SPEC
public static final String PROFILE_SPEC
- See Also:
- Constant Field Values
-
RESOURCE_ADAPTOR
public static final String RESOURCE_ADAPTOR
- See Also:
- Constant Field Values
-
RESOURCE_ADAPTOR_TYPE
public static final String RESOURCE_ADAPTOR_TYPE
- See Also:
- Constant Field Values
-
SBB
public static final String SBB
- See Also:
- Constant Field Values
-
SBB_PART
public static final String SBB_PART
- See Also:
- Constant Field Values
-
SERVICE
public static final String SERVICE
- See Also:
- Constant Field Values
-
BINDING
public static final String BINDING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getVendor
public String getVendor()
-
setVendor
public void setVendor(String vendor)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getType
public String getType()
-
setType
public void setType(String type)
-
createComponentID
public ComponentID createComponentID() throws InvalidArgumentException
- Throws:
InvalidArgumentException
-
createComponentID
public ComponentID createComponentID(String componentType) throws InvalidArgumentException
- Throws:
InvalidArgumentException
-
createComponentID
public static ComponentID createComponentID(String componentType, String name, String vendor, String version) throws InvalidArgumentException
- Throws:
InvalidArgumentException
-
getComponentType
public static String getComponentType(ComponentID id) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-