| java.lang.Object com.sun.jbi.binding.jms.deploy.UtilBase com.sun.jbi.binding.jms.deploy.DeployDescriptorReader
DeployDescriptorReader | public class DeployDescriptorReader extends UtilBase implements JMSBindingResources(Code) | | This class reads the SU jbi.xml and loads up the values.
author: Sun Microsystems, Inc. |
Inner Class :public class EndpointInfo | |
Method Summary | |
public int | getConsumerCount() Returns the number of consumer endpoints. | public int | getProviderCount() Returns the number of mProvider endpoints. | public String | getType() | public void | init(Document doc) Initializes the config file and loads services. | public boolean | isPresent(QName sername, QName intername, String epname, int role) Verifies if the endpoint in the artifacts XML file is present in
the deployment descriptor.
Parameters: sername - service name. Parameters: intername - interface name. Parameters: epname - endpoint name. Parameters: role - role. | public void | load() Loads the data. | public void | setEndpoint(Node node, EndpointInfo ep) Sets the endpoint attributes. |
DeployDescriptorReader | public DeployDescriptorReader()(Code) | | Creates a new ConfigReader object.
|
getConsumerCount | public int getConsumerCount()(Code) | | Returns the number of consumer endpoints.
consumer endpoint count. |
getProviderCount | public int getProviderCount()(Code) | | Returns the number of mProvider endpoints.
mProvider endpoint count. |
getType | public String getType()(Code) | | Gets the type of artifact
|
init | public void init(Document doc)(Code) | | Initializes the config file and loads services.
Parameters: doc - Name of the config file. |
isPresent | public boolean isPresent(QName sername, QName intername, String epname, int role)(Code) | | Verifies if the endpoint in the artifacts XML file is present in
the deployment descriptor.
Parameters: sername - service name. Parameters: intername - interface name. Parameters: epname - endpoint name. Parameters: role - role. true if present. |
load | public void load()(Code) | | Loads the data.
|
setEndpoint | public void setEndpoint(Node node, EndpointInfo ep)(Code) | | Sets the endpoint attributes.
Parameters: node - mProvider/consumer node. Parameters: ep - endpoint information. |
|
|