/** * Resource Reference. * * @param resourceClass Resource class * @param scope Resource scope * @param auth Resource authetication */ public ResourceRef(String resourceClass, String description, String scope, String auth, String factory, String factoryLocation) { super(resourceClass, factory, factoryLocation); StringRefAddr refAddr = null; if (description != null) { refAddr = new StringRefAddr(DESCRIPTION, description); add(refAddr); } if (scope != null) { refAddr = new StringRefAddr(SCOPE, scope); add(refAddr); } if (auth != null) { refAddr = new StringRefAddr(AUTH, auth); add(refAddr); } }
/** * Resource Reference. * * @param resourceClass Resource class * @param scope Resource scope * @param auth Resource authentication */ public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation) { super(resourceClass, factory, factoryLocation); StringRefAddr refAddr = null; if (description != null) { refAddr = new StringRefAddr(DESCRIPTION, description); add(refAddr); } if (scope != null) { refAddr = new StringRefAddr(SCOPE, scope); add(refAddr); } if (auth != null) { refAddr = new StringRefAddr(AUTH, auth); add(refAddr); } // singleton is a boolean so slightly different handling refAddr = new StringRefAddr(SINGLETON, Boolean.toString(singleton)); add(refAddr); }
/** * Resource Reference. * * @param resourceClass Resource class * @param scope Resource scope * @param auth Resource authentication */ public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation) { super(resourceClass, factory, factoryLocation); StringRefAddr refAddr = null; if (description != null) { refAddr = new StringRefAddr(DESCRIPTION, description); add(refAddr); } if (scope != null) { refAddr = new StringRefAddr(SCOPE, scope); add(refAddr); } if (auth != null) { refAddr = new StringRefAddr(AUTH, auth); add(refAddr); } // singleton is a boolean so slightly different handling refAddr = new StringRefAddr(SINGLETON, Boolean.toString(singleton)); add(refAddr); }
/** * Resource Reference. * * @param resourceClass Resource class * @param scope Resource scope * @param auth Resource authentication */ public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation) { super(resourceClass, factory, factoryLocation); StringRefAddr refAddr = null; if (description != null) { refAddr = new StringRefAddr(DESCRIPTION, description); add(refAddr); } if (scope != null) { refAddr = new StringRefAddr(SCOPE, scope); add(refAddr); } if (auth != null) { refAddr = new StringRefAddr(AUTH, auth); add(refAddr); } // singleton is a boolean so slightly different handling refAddr = new StringRefAddr(SINGLETON, Boolean.toString(singleton)); add(refAddr); }
/** * Resource Reference. * * @param resourceClass Resource class * @param scope Resource scope * @param auth Resource authentication */ public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation) { super(resourceClass, factory, factoryLocation); StringRefAddr refAddr = null; if (description != null) { refAddr = new StringRefAddr(DESCRIPTION, description); add(refAddr); } if (scope != null) { refAddr = new StringRefAddr(SCOPE, scope); add(refAddr); } if (auth != null) { refAddr = new StringRefAddr(AUTH, auth); add(refAddr); } // singleton is a boolean so slightly different handling refAddr = new StringRefAddr(SINGLETON, Boolean.toString(singleton)); add(refAddr); }
/** * Resource Reference. * * @param resourceClass Resource class * @param scope Resource scope * @param auth Resource authentication */ public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation) { super(resourceClass, factory, factoryLocation); StringRefAddr refAddr = null; if (description != null) { refAddr = new StringRefAddr(DESCRIPTION, description); add(refAddr); } if (scope != null) { refAddr = new StringRefAddr(SCOPE, scope); add(refAddr); } if (auth != null) { refAddr = new StringRefAddr(AUTH, auth); add(refAddr); } // singleton is a boolean so slightly different handling refAddr = new StringRefAddr(SINGLETON, Boolean.toString(singleton)); add(refAddr); }
/** * Resource Reference. * * @param resourceClass Resource class * @param scope Resource scope * @param auth Resource authentication */ public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation) { super(resourceClass, factory, factoryLocation); StringRefAddr refAddr = null; if (description != null) { refAddr = new StringRefAddr(DESCRIPTION, description); add(refAddr); } if (scope != null) { refAddr = new StringRefAddr(SCOPE, scope); add(refAddr); } if (auth != null) { refAddr = new StringRefAddr(AUTH, auth); add(refAddr); } // singleton is a boolean so slightly different handling refAddr = new StringRefAddr(SINGLETON, Boolean.toString(singleton)); add(refAddr); }