org.globus.gsi.stores
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 java.lang.Object
- implements SecurityObjectWrapper<T>, Storable
// JGLOBUS-91 : add javadoc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.globus.gsi.stores.Storable |
store |
globusResolver
protected GlobusPathMatchingResourcePatternResolver globusResolver
globusResource
protected GlobusResource globusResource
AbstractResourceSecurityWrapper
public AbstractResourceSecurityWrapper()
init
protected void init(java.lang.String locationPattern)
throws ResourceStoreException
- Throws:
ResourceStoreException
init
protected void init(GlobusResource initialResource)
throws ResourceStoreException
- Throws:
ResourceStoreException
getAlias
public java.lang.String getAlias()
- Specified by:
getAlias
in interface SecurityObjectWrapper<T>
init
protected void init(java.lang.String locationPattern,
T initialSecurityObject)
throws ResourceStoreException
- Throws:
ResourceStoreException
init
protected void init(GlobusResource initialResource,
T initialSecurityObject)
throws ResourceStoreException
- Throws:
ResourceStoreException
getGlobusResource
public GlobusResource getGlobusResource()
getResourceURL
public java.net.URL getResourceURL()
getFile
public java.io.File getFile()
refresh
public void refresh()
throws ResourceStoreException
- Specified by:
refresh
in interface SecurityObjectWrapper<T>
- Throws:
ResourceStoreException
create
protected abstract T create(GlobusResource targetResource)
throws ResourceStoreException
- Throws:
ResourceStoreException
getSecurityObject
public T getSecurityObject()
throws ResourceStoreException
- Specified by:
getSecurityObject
in interface SecurityObjectWrapper<T>
- Throws:
ResourceStoreException
hasChanged
public boolean hasChanged()
- Specified by:
hasChanged
in interface SecurityObjectWrapper<T>