private static boolean isJaxwsPojoDeployment(final DeploymentUnit unit) {
return getJaxwsPojos(unit).size() > 0;
}
private static void createJaxrpcDeployment(final DeploymentUnit unit, final WebservicesMetaData webservicesMD, final JBossWebMetaData jbossWebMD) {
final JAXRPCDeployment jaxrpcDeployment = getJaxrpcDeployment(unit);
for (final WebserviceDescriptionMetaData wsDescriptionMD : webservicesMD.getWebserviceDescriptions()) {
for (final PortComponentMetaData portComponentMD : wsDescriptionMD.getPortComponents()) {
final POJOEndpoint pojoEndpoint = newPojoEndpoint(portComponentMD, jbossWebMD);
jaxrpcDeployment.addEndpoint(pojoEndpoint);
}
}
}