public String getType() { return decoree.getType(); }
/** * Return true if this resource is to a JavaMail session object. * @return true if the resource is a JavaMail session object. */ public boolean isMailResource() { //START OF IASRI 4650786 // return (this.getMailConfiguration() != null); return this.getType().equals(MAIL_RESOURCE_TYPE); //END OF IASRI 4650786 }
/** * Return true if this resource is a CCI connection factory. * @return true if the resource is a CCI connection factory, false * otherwise. */ public boolean isResourceConnectionFactory () { return this.getType().equals(CONNECTOR_RESOURCE_TYPE); } //END OF IASRI 4633229
/** * @return true if the resource is a jdbc DataSource object. */ public boolean isJDBCResource() { return this.getType().equals(JDBC_RESOURCE_TYPE); } // end IASRI 4734197
/** * Return true if this resource is a CCI connection factory. * @return true if the resource is a CCI connection factory, false * otherwise. */ public boolean isResourceConnectionFactory () { return this.getType().equals(CONNECTOR_RESOURCE_TYPE); } //END OF IASRI 4633229
/** * @return true if the resource is a jdbc DataSource object. */ public boolean isJDBCResource() { return this.getType().equals(JDBC_RESOURCE_TYPE); } // end IASRI 4734197
/** * Return true if this resource is to a JavaMail session object. * @return true if the resource is a JavaMail session object. */ public boolean isMailResource() { //START OF IASRI 4650786 // return (this.getMailConfiguration() != null); return this.getType().equals(MAIL_RESOURCE_TYPE); //END OF IASRI 4650786 }
public boolean isWebServiceContext() { return this.getType().equals(WEBSERVICE_CONTEXT_TYPE); }
public boolean isWebServiceContext() { return this.getType().equals(WEBSERVICE_CONTEXT_TYPE); }
public boolean isORB() { return this.getType().equals(ORB_RESOURCE_TYPE); }
/** * Return true if this resource is a JMS connection factory. * @return true if the resource is a JMS connection factory, false * otherwise. */ public boolean isJMSConnectionFactory() { String myType = this.getType(); return ( myType.equals("javax.jms.QueueConnectionFactory") || myType.equals("javax.jms.TopicConnectionFactory") ); }
public boolean isORB() { return this.getType().equals(ORB_RESOURCE_TYPE); }
/** * Return true if this resource is a JMS connection factory. * @return true if the resource is a JMS connection factory, false * otherwise. */ public boolean isJMSConnectionFactory() { String myType = this.getType(); return ( myType.equals("javax.jms.QueueConnectionFactory") || myType.equals("javax.jms.TopicConnectionFactory") ); }
/** * Set runtime default value for ResourceReferenceDescriptor. */ private void computeRuntimeDefault(ResourceReferenceDescriptor resRef) { if (resRef.getType() != null && resRef.getType().equals("org.omg.CORBA.ORB")) { resRef.setJndiName("java:comp/ORB"); } else if (resRef.getJndiName() == null || resRef.getJndiName().length() == 0) { resRef.setJndiName(getDefaultResourceJndiName(resRef.getName())); } }
public boolean isConflict(ResourceReferenceDescriptor other) { return (getName().equals(other.getName())) && (!(DOLUtils.equals(getType(), other.getType()) && getAuthorization().equals(other.getAuthorization()) && getSharingScope().equals(other.getSharingScope()) ) || isConflictResourceGroup(other)); } }
public boolean isConflict(ResourceReferenceDescriptor other) { return (getName().equals(other.getName())) && (!DOLUtils.equals(getType(), other.getType()) || isConflictResourceGroup(other)); }
boolean isConflict(ResourceReferenceDescriptor other) { return (getName().equals(other.getName())) && (!DOLUtils.equals(getType(), other.getType()) || isConflictResourceGroup(other)); }