How to create your own Registry
-Create a classfile which implements com.ibm.commerce.registry.Registry
--public abstract interface Registry
--public abstract void initialize()
--public abstract void refresh()
When registry will load
-While starting the server ,registry will initialize
If the data in the tables associated with a registry is changed, you will need to refresh that registry for the change to take effect. For example, if a new entry is added to the Struts Configuring, the UrlRegistry has to be refreshed. Otherwise, the WebSphere Commerce runtime environment will not recognize the new URL.
Most commonly using registry: URLRegistry, Promotion Regisry
-Create a classfile which implements com.ibm.commerce.registry.Registry
--public abstract interface Registry
--public abstract void initialize()
--public abstract void refresh()
What are the methods required in side the Registry
-initialize() --call refresh method
-refresh() --load the values
-initialize() --call refresh method
-refresh() --load the values
what is the registry Entry in side the wc-server.xml ?
<Registries>
<registry name="BipinRegistry" regClassName="com.xxx.BipinRegistry" />
</Registries>
<Registries>
<registry name="BipinRegistry" regClassName="com.xxx.BipinRegistry" />
</Registries>
How to invoke the registry from controller command
-MyNewRegistry myregsty= MyNewRegistry (RegistryManager.singleton().getRegistry(MyNewRegistryname ));
-MyNewRegistry myregsty= MyNewRegistry (RegistryManager.singleton().getRegistry(MyNewRegistryname ));
-While starting the server ,registry will initialize
If the data in the tables associated with a registry is changed, you will need to refresh that registry for the change to take effect. For example, if a new entry is added to the Struts Configuring, the UrlRegistry has to be refreshed. Otherwise, the WebSphere Commerce runtime environment will not recognize the new URL.
Most commonly using registry: URLRegistry, Promotion Regisry
Business intelligence analyst
ReplyDeleteSQIAR (http://www.sqiar.com/services/bi-strategy/) is a leading Business Intelligence company.Sqiar Provide business intelligence Services Which help the company to present Information in Meaningful form.