| java.lang.Object com.sun.jbi.binding.file.util.UtilBase com.sun.jbi.binding.file.util.DeployDescriptorReader
DeployDescriptorReader | public class DeployDescriptorReader extends UtilBase implements FileBindingResources(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 List | getKeyList() | public int | getProviderCount() Returns the number of provider 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 endpoitn 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 provider endpoints.
provider 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 endpoitn attributes.
Parameters: node - provider/consumer node. Parameters: ep - endpoint information. |
|
|