Package org.jboss.ws.annotation

Examples of org.jboss.ws.annotation.EndpointConfig


/*     */
/*     */   private void processEndpointConfig(EndpointMetaData epMetaData, Class<?> wsClass)
/*     */   {
/* 325 */     if (wsClass.isAnnotationPresent(EndpointConfig.class))
/*     */     {
/* 327 */       EndpointConfig anConfig = (EndpointConfig)wsClass.getAnnotation(EndpointConfig.class);
/* 328 */       epMetaData.setConfigName(anConfig.configName(), anConfig.configFile());
/*     */     }
/*     */   }
View Full Code Here


/*     */   protected void processEndpointConfig(Deployment dep, ServerEndpointMetaData sepMetaData, Class<?> wsClass, String linkName)
/*     */   {
/*  63 */     String configName = null;
/*  64 */     String configFile = null;
/*     */
/*  66 */     EndpointConfig anEndpointConfig = (EndpointConfig)wsClass.getAnnotation(EndpointConfig.class);
/*  67 */     if (anEndpointConfig != null)
/*     */     {
/*  69 */       if (anEndpointConfig.configName().length() > 0) {
/*  70 */         configName = anEndpointConfig.configName();
/*     */       }
/*  72 */       if (anEndpointConfig.configFile().length() > 0) {
/*  73 */         configFile = anEndpointConfig.configFile();
/*     */       }
/*     */     }
/*  76 */     JSEArchiveMetaData jseMetaData = (JSEArchiveMetaData)dep.getAttachment(JSEArchiveMetaData.class);
/*  77 */     if (jseMetaData != null)
/*     */     {
View Full Code Here

TOP

Related Classes of org.jboss.ws.annotation.EndpointConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.