* Activate the services required for service deployments.
* @param updateContext The update context
*/
public void activate(final BootOperationContext updateContext, final ServiceTarget serviceTarget) {
// add resources here
MdrService mdrService = new MdrService();
serviceTarget.addService(ConnectorServices.IRONJACAMAR_MDR, mdrService).install();
RaRepositoryService raRepositoryService = new RaRepositoryService();
serviceTarget
.addService(ConnectorServices.RA_REPOSISTORY_SERVICE, raRepositoryService)
.addDependency(ConnectorServices.IRONJACAMAR_MDR, MetadataRepository.class,
raRepositoryService.getMdrInjector()).install();
ManagementRepositoryService managementRepositoryService = new ManagementRepositoryService();
serviceTarget.addService(ConnectorServices.MANAGEMENT_REPOSISTORY_SERVICE, managementRepositoryService).install();
ResourceAdapterDeploymentRegistryService registryService = new ResourceAdapterDeploymentRegistryService();
serviceTarget.addService(ConnectorServices.RESOURCE_ADAPTER_REGISTRY_SERVICE, registryService)
.addDependency(ConnectorServices.IRONJACAMAR_MDR).install();
JndiStrategyService jndiStrategyService = new JndiStrategyService();
serviceTarget.addService(ConnectorServices.JNDI_STRATEGY_SERVICE, jndiStrategyService).install();
updateContext.addDeploymentProcessor(Phase.DEPENDENCIES, Phase.DEPENDENCIES_RAR_CONFIG, new RarDependencyProcessor());
updateContext.addDeploymentProcessor(Phase.PARSE, Phase.PARSE_RA_DEPLOYMENT, new RaDeploymentParsingProcessor());
updateContext.addDeploymentProcessor(Phase.PARSE, Phase.PARSE_IRON_JACAMAR_DEPLOYMENT,
new IronJacamarDeploymentParsingProcessor());
updateContext.addDeploymentProcessor(Phase.INSTALL, Phase.INSTALL_RA_DEPLOYMENT, new ParsedRaDeploymentProcessor());
updateContext.addDeploymentProcessor(Phase.INSTALL, Phase.INSTALL_RA_XML_DEPLOYMENT, new RaXmlDeploymentProcessor(
mdrService.getValue()));
updateContext.addDeploymentProcessor(Phase.STRUCTURE, Phase.STRUCTURE_RAR, new RaStructureProcessor());
updateContext.addDeploymentProcessor(Phase.INSTALL, Phase.INSTALL_JDBC_DRIVER, new DriverProcessor());
}