Hi Ramesh,
I added the service registration code to the TeiidAdd.java and it works fine now. I am getting the admin object.
The following is the code which I added to the TeiidAdd.java file
ChorusVDBAdminProvider adminService = new ChorusVDBAdminProvider();
ServiceBuilder<Admin> adminServiceBinder = context.getServiceTarget().addService(ServiceName.JBOSS.append("teiid", "admin"), adminService);
adminServiceBinder.addDependency(TeiidServiceNames.executorServiceName(asyncThreadPoolName), Executor.class, adminService.executorInjector);
adminServiceBinder.addDependency(Services.JBOSS_SERVER_CONTROLLER, ModelController.class, adminService.controllerValue);
newControllers.add(adminServiceBinder.install());
Thanks
Rakesh.