builder.addListener(new AbstractResourceAdapterDeploymentServiceListener(registration, deploymentUnit.getName(), deploymentResource) {
@Override
protected void registerIronjacamar(final ServiceController<? extends Object> controller, final ManagementResourceRegistration subRegistration, final Resource subsystemResource) {
//register ironJacamar
new IronJacamarRegistrator(subRegistration).invoke();
AS7MetadataRepository mdr = ((ResourceAdapterDeploymentService) controller.getService()).getMdr();
IronJacamarResourceCreator.INSTANCE.execute(subsystemResource, mdr);
}
@Override