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);
}
}
Parameters:
resourceClass - Resource class
scope - Resource scope
auth - Resource authetication
|