private void addProperties(GerPersistenceContextRefType persistenceContextRef, Map<String, String> properties) { GerPropertyType[] propertyTypes = persistenceContextRef.getPropertyArray(); for (GerPropertyType propertyType : propertyTypes) { String key = propertyType.getKey(); String value = propertyType.getValue(); properties.put(key, value); } }
private Map<String, Object> getProperties(GerPortType port) { Map<String, Object> props = new HashMap<String, Object>(); if (port != null && port.getPropertyArray() != null) { for (GerPortPropertyType propertyType : port.getPropertyArray()) { props.put(propertyType.getName(), propertyType.getStringValue().trim()); } } return props; }
private String getCredentialsName(GerPortType port) { String credentialsName = port.getCredentialsName(); return (credentialsName == null) ? null : credentialsName.trim(); }
public void setMessageDestinationName(String name) { String old = getMessageDestination().getMessageDestinationName(); getMessageDestination().setMessageDestinationName(name); pcs.firePropertyChange("messageDestinationName", old, name); }
public String getRefName() { return getResourceRef().getRefName(); }
public void setGBeanLink(String link) { GerGbeanLocatorType locator = getGBeanLocator(); if(link != null && locator.isSetPattern()) { clearPatternFromChoice(); } String old = getGBeanLink(); locator.setGbeanLink(link); pcs.firePropertyChange("GBeanLink", old, link); }
public String getUrl() { return getResourceRef().getResourceLink(); }
public String getRefName() { return getResourceRef().getRefName(); }
public String getMessageDestinationName() { return getMessageDestination().getMessageDestinationName(); }
public String getAdminObjectModule() { return getMessageDestination().getAdminObjectModule(); }
public String getRefName() { return getEjbRef().getRefName(); }
public String getGBeanLink() { return getGBeanLocator().getGbeanLink(); }
public String getAdminObjectLink() { return getMessageDestination().getAdminObjectLink(); }
public String getAdminObjectLink() { return getResourceRef().getAdminObjectLink(); }
public String getAdminObjectModule() { return getResourceRef().getAdminObjectModule(); }
private static AbstractNameQuery getAdminObjectContainerId(String name, String j2eeType, GerResourceEnvRefType gerResourceEnvRef) { AbstractNameQuery containerId; if (gerResourceEnvRef == null) { containerId = buildAbstractNameQuery(null, null, name, j2eeType, null); } else { //construct name from components GerPatternType patternType = gerResourceEnvRef.getPattern(); containerId = buildAbstractNameQuery(patternType, j2eeType, null, null); } return containerId; }
public String getRefName() { return getEjbLocalRef().getRefName(); }
public String getEjbLink() { return getEjbLocalRef().getEjbLink(); }
public String getEjbLink() { return getEjbRef().getEjbLink(); }
public String getResourceLink() { return getResourceRef().getResourceLink(); }