| com.bostechcorp.cbesb.common.util.custcomponent.ICustComponent
All known Subclasses: com.bostechcorp.cbesb.common.util.custcomponent.BaseCustComponent,
ICustComponent | public interface ICustComponent (Code) | | The interface class that the Custom Component must implment to be used in Flow Editor.
If useDefaultDeploy is true:
Users can implement SetComponentURI to supply component URI.
if useDefaultWSDLGenerator=false,
Users can implement SetComponentProperies to selectively decide which properties
go to the WSDL config tag.
And also implement genDeploymentArtificats to generate the additional optional config files.
If useDefaultDeploy is false:
Users can implement getServiceName to set ServiceName for specified role.
And also implement getEndpointName to set endpoint name for specified role.
Users can implement genDeploymentArtificats to generate the deployment
artifacts required for the custom component
author: elu |
Inner Class :public enum Role | |
Inner Class :public enum DefaultMEP | |
genDeploymentArtifacts | public void genDeploymentArtifacts(IServiceUnitContext context)(Code) | | if useDefaultDeploy=true and useDefaultWSDLGenerator=false,
Users can implement genDeploymentArtificats to generate the additional optional config files.
If useDefaultDeploy is false:
Users can implement genDeploymentArtificats to generate the deployment
artifacts required for the custom component
|
getBigIconResourceLocation | public String getBigIconResourceLocation()(Code) | | This one is used in the canvas when a custom component is dragged
the resource location of the big icon for custom component |
getComponentName | public String getComponentName()(Code) | | such as "ChainBuilderESB-BC-Email"
|
getComponentURI | public String getComponentURI()(Code) | | When useDefaultDeploy() return true, users can implement this method to supply component URI.
revision required on the utility of this method.
the namespace cretaion is:
vendorNameSpace+"/wsdl/"+componentType+"/"version
default vendorNamespace="http://cbesb.bostechcorp.com"
Parameters: uri - - the component URI, e.g, "http://cbesb.bostechcorp.com/wsdl/email/1.0" |
getDefaultMep | public DefaultMEP getDefaultMep(Role role)(Code) | | Parameters: role - the DefaultMEP for the role |
getDescription | public String getDescription()(Code) | | the description of the custom component |
getEndpointName | public String getEndpointName(Role role, IServiceUnitContext context)(Code) | | This API is used when useDefaultDeployment() return false
Parameters: role - the EndpointName for specified role |
getName | public String getName()(Code) | | the name the custom component |
getPropertyByName | public IProperty getPropertyByName(String propertyName, Role role)(Code) | | get a property def by property' name and role
Parameters: propertyName - Parameters: role - |
getRole | public Role getRole()(Code) | | the role of custom component |
getServiceName | public String getServiceName(Role role, IServiceUnitContext context)(Code) | | This API is used when useDefaultDeployment() return false
Parameters: role - the ServiceName for specified role |
getSmallIconResourceLocation | public String getSmallIconResourceLocation()(Code) | | This one is used in the Custom Component wizard to display a list of custom component.
the resource location of the small icon for custom component. |
getUseCCSL | public boolean getUseCCSL()(Code) | | whether the Use CCSL is supported |
getVendor | public String getVendor()(Code) | | the vendor who produces this custom component |
getVersion | public String getVersion()(Code) | | the version of the custom component |
getWizardPages | public IWizardPage[] getWizardPages(Role role)(Code) | | the all IWizardPage objects for specified role |
isConsumerScheduleable | public boolean isConsumerScheduleable()(Code) | | if the consumer should support schedule function |
setComponentProperties | public void setComponentProperties(Properties properties)(Code) | | When seDefaultDeploy() return true and useDefaultWSDLGenerator() return false,
users can implement this component to selectively decide which properties
go to the WSDL config tag.
Parameters: properties - - a Properties object to be serialized into the WSDL config tag. |
useDefaultDeployment | public boolean useDefaultDeployment()(Code) | | It returns true for ChainBuilder ESB style custom component.
whether the default deployment descriptor is used |
useDefaultWSDLGenerator | public boolean useDefaultWSDLGenerator()(Code) | | If return true, the generated WSDL files will be followed ChainBuilder ESB deployment descriptor design pattern.
whether to use the default WSDL generator in ChainBuilder ESB |
|
|