org.glite.security.voms.service
Class ContainerNamingSchemeFactory

java.lang.Object
  extended byorg.glite.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");
 

Author:
Karoly Lorentey

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
 

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.