Thanks for your reply Daniel. i initialized BeanPool and i read some asset. i have another question. When i trying to update object, i am giving ObjectLock Exception. How can i disable lock mechanizm ?
i am using this code for getting the beanpool;
SessionContext context = null;
RegistryProvider provider = null;
try {
provider = new StandaloneRegistryProvider(registryUsername,
registryPassword, true);
Configuration conf = new Configuration();
conf.setRegistryProvider(provider);
conf.addBeanType(Item.class);
conf.addBeanType(Action.class);
conf.addBeanType(Entry.class);
conf.addBeanType(ExternalLink.class);
context = SessionContext.createInstance(conf);
} catch (CSAppFrameworkException e) {
// Do something with the exception
}
BeanPool beanPool = context.getCurrentBeanPool();
#webMethods#API-Management#CentraSite