private String autoAssignWsLocation(EnterpriseBeanInfo bean, PortData port, Map<String, String> contextData, StringTemplate template) { contextData.put("ejbDeploymentId", bean.ejbDeploymentId); contextData.put("ejbType", getEjbType(bean.type)); contextData.put("ejbClass", bean.ejbClass); contextData.put("ejbClass.simpleName", bean.ejbClass.substring(bean.ejbClass.lastIndexOf('.') + 1)); contextData.put("ejbName", bean.ejbName); contextData.put("portComponentName", port.getPortName().getLocalPart()); contextData.put("wsdlPort", port.getWsdlPort().getLocalPart()); contextData.put("wsdlService", port.getWsdlService().getLocalPart()); return template.apply(contextData); }
private String autoAssignWsLocation(final EnterpriseBeanInfo bean, final PortData port, final Map<String, String> contextData, final StringTemplate template) { if (bean.properties.containsKey(WS_FORCE_ADDRESS)) { return bean.properties.getProperty(WS_FORCE_ADDRESS); } contextData.put("ejbDeploymentId", bean.ejbDeploymentId); contextData.put("ejbType", getEjbType(bean.type)); contextData.put("ejbClass", bean.ejbClass); contextData.put("ejbClass.simpleName", bean.ejbClass.substring(bean.ejbClass.lastIndexOf('.') + 1)); contextData.put("ejbName", bean.ejbName); contextData.put("portComponentName", port.getPortName().getLocalPart()); contextData.put("wsdlPort", port.getWsdlPort().getLocalPart()); contextData.put("wsdlService", port.getWsdlService().getLocalPart()); return template.apply(contextData); }
private String autoAssignWsLocation(final EnterpriseBeanInfo bean, final PortData port, final Map<String, String> contextData, final StringTemplate template) { if (bean.properties.containsKey(WS_FORCE_ADDRESS)) { return bean.properties.getProperty(WS_FORCE_ADDRESS); } contextData.put("ejbDeploymentId", bean.ejbDeploymentId); contextData.put("ejbType", getEjbType(bean.type)); contextData.put("ejbClass", bean.ejbClass); contextData.put("ejbClass.simpleName", bean.ejbClass.substring(bean.ejbClass.lastIndexOf('.') + 1)); contextData.put("ejbName", bean.ejbName); contextData.put("portComponentName", port.getPortName().getLocalPart()); contextData.put("wsdlPort", port.getWsdlPort().getLocalPart()); contextData.put("wsdlService", port.getWsdlService().getLocalPart()); return template.apply(contextData); }
@ManagedAttribute @Description("The service port QName") public String getPort() { return port.getPortName().toString(); }
@ManagedAttribute @Description("The service port QName") public String getPort() { return port.getPortName().toString(); }
@ManagedAttribute @Description("The service port QName") public String getPort() { return port.getPortName().toString(); }
@ManagedAttribute @Description("The service port QName") public String getPort() { return port.getPortName().toString(); }