org.ow2.jonas.lib.naming
Class ComponentNameParser

java.lang.Object
  extended by org.ow2.jonas.lib.naming.ComponentNameParser
All Implemented Interfaces:
javax.naming.NameParser

public class ComponentNameParser
extends java.lang.Object
implements javax.naming.NameParser

Basic name parser used for java:comp naming space.


Constructor Summary
ComponentNameParser()
           
 
Method Summary
 javax.naming.Name parse(java.lang.String name)
          Parse a name into its components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentNameParser

public ComponentNameParser()
Method Detail

parse

public javax.naming.Name parse(java.lang.String name)
                        throws javax.naming.NamingException
Parse a name into its components.

Specified by:
parse in interface javax.naming.NameParser
Parameters:
name - The non-null string name to parse.
Returns:
A non-null parsed form of the name using the naming convention of this parser.
Throws:
javax.naming.NamingException - If a naming exception was encountered.


Copyright © 2012 OW2 Consortium. All Rights Reserved.