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

Field Summary
private static ContainerNamingScheme cns
           
private static java.lang.String DEFAULT_NAMING_SCHEME
           
private static org.apache.log4j.Logger log
           
 
Constructor Summary
ContainerNamingSchemeFactory()
           
 
Method Summary
static ContainerNamingScheme getContainerNamingScheme()
          Return an instance of the proper naming scheme class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ContainerNamingSchemeFactory

public ContainerNamingSchemeFactory()
Method Detail

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.