org.edg.security.voms.service
Class ContainerNamingSchemeFactory
java.lang.Object
|
+--org.edg.security.voms.service.ContainerNamingSchemeFactory
- public class ContainerNamingSchemeFactory
- extends java.lang.Object
Factory class for creating ContainerNamingScheme instances.
Example:
ContainerNamingScheme cns = ContainerNamingSchemeFactory.getContainerNamingScheme ();
cns.checkSyntax ("/O=Sample VO/Group=Foobar");
- Version:
- $Name: v0_7_0 $
- Author:
- Karoly Lorentey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAMING_SCHEME
private static final java.lang.String DEFAULT_NAMING_SCHEME
- See Also:
- Constant Field Values
log
private static final org.apache.log4j.Logger log
cns
private static ContainerNamingScheme cns
ContainerNamingSchemeFactory
public ContainerNamingSchemeFactory()
getContainerNamingScheme
public static ContainerNamingScheme getContainerNamingScheme()
- Return an instance of the proper naming scheme class.
Note that this method accesses the database in order to get the VO name.
- Throws:
java.lang.RuntimeException
- if there was a problem instantiating the naming scheme.