com.bea.security
Class RuntimeResource
java.lang.Object
|
+--com.bea.security.NamedObject
|
+--com.bea.security.RuntimeResource
- public class RuntimeResource
- extends NamedObject
- implements com.bea.security.spi.ProviderResource
The RuntimeResource
class represents a resource to the security runtime.
- Author:
- Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.
Constructor Summary
|
RuntimeResource(RuntimeResource res)
Constructs a new resource copying from another resource. |
RuntimeResource(java.lang.String resourcestring,
java.lang.String authorityname)
Constructs a resource given the resource string and the name of its naming authority. |
Method Summary
|
boolean |
equals(java.lang.Object another)
Compares this resource to the specified object to determine equivilency. |
RuntimeResource |
getParent()
Gets a reference this this resource's parent. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
RuntimeResource
public RuntimeResource(java.lang.String resourcestring,
java.lang.String authorityname)
- Constructs a resource given the resource string and the name of its naming authority.
- Parameters:
resourcestring
- a String
representation of this resource name.authorityname
- the name of this resource's naming authority.
RuntimeResource
public RuntimeResource(RuntimeResource res)
- Constructs a new resource copying from another resource.
- Parameters:
res
- another RuntimeResource
from which to copy.
equals
public boolean equals(java.lang.Object another)
- Compares this resource to the specified object to determine equivilency.
- Parameters:
another
- an object to compare with this resource.- Returns:
- a boolean value indicating whether the object is the same
as this resource. A value of
true
indicates that the object passed in is the same, false
indicates that the object passed in is not the same as this resource. - Overrides:
- equals in class java.lang.Object
getParent
public RuntimeResource getParent()
- Gets a reference this this resource's parent.
- Returns:
- the parent of the current resource as a
RuntimeResource
.