Class AbstractResourceSecurityWrapper<T>
java.lang.Object
org.globus.gsi.stores.AbstractResourceSecurityWrapper<T>
- Type Parameters:
T- Type of security object
- All Implemented Interfaces:
SecurityObjectWrapper<T>, Storable
- Direct Known Subclasses:
ResourceCRL, ResourceProxyCredential, ResourceTrustAnchor
public abstract class AbstractResourceSecurityWrapper<T>
extends Object
implements SecurityObjectWrapper<T>, Storable
// JGLOBUS-91 : add javadoc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate final longprivate booleanprotected GlobusResourceprivate booleanprivate longprivate longprivate org.apache.commons.logging.Logprivate T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Tcreate(GlobusResource targetResource) getAlias()getFile()booleanprotected voidprotected voidprotected voidinit(GlobusResource initialResource) protected voidinit(GlobusResource initialResource, T initialSecurityObject) voidrefresh()
-
Field Details
-
globusResolver
-
globusResource
-
logger
private org.apache.commons.logging.Log logger -
changed
private boolean changed -
securityObject
-
lastModified
private long lastModified -
lastRefresh
private long lastRefresh -
cacheLifetime
private final long cacheLifetime -
alias
-
inMemory
private boolean inMemory
-
-
Constructor Details
-
AbstractResourceSecurityWrapper
protected AbstractResourceSecurityWrapper(boolean inMemory)
-
-
Method Details
-
init
- Throws:
ResourceStoreException
-
init
- Throws:
ResourceStoreException
-
getAlias
- Specified by:
getAliasin interfaceSecurityObjectWrapper<T>
-
init
- Throws:
ResourceStoreException
-
init
protected void init(GlobusResource initialResource, T initialSecurityObject) throws ResourceStoreException - Throws:
ResourceStoreException
-
getGlobusResource
-
getResourceURL
-
getFile
-
refresh
- Specified by:
refreshin interfaceSecurityObjectWrapper<T>- Throws:
ResourceStoreException
-
create
- Throws:
ResourceStoreException
-
getSecurityObject
- Specified by:
getSecurityObjectin interfaceSecurityObjectWrapper<T>- Throws:
ResourceStoreException
-
hasChanged
public boolean hasChanged()- Specified by:
hasChangedin interfaceSecurityObjectWrapper<T>
-