com.ibm.ws.container.service.naming

Enum NamingConstants.JavaColonNamespace

  1. java.lang.Object
  2. extended byjava.lang.Enum<NamingConstants.JavaColonNamespace>
  3. extended bycom.ibm.ws.container.service.naming.NamingConstants.JavaColonNamespace
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<NamingConstants.JavaColonNamespace>
Enclosing interface:
NamingConstants

  1. public static enum NamingConstants.JavaColonNamespace
  2. extends java.lang.Enum<NamingConstants.JavaColonNamespace>
This enum represents the different namespaces of java:

Enum Constant Summary

Enum Constant and Description
APP
COMP
COMP_ENV
COMP_WS
GLOBAL
MODULE

Method Summary

Modifier and Type Method and Description
  1. boolean
isComp()
Returns true if the namespace belongs to java:comp.
  1. static
  2. NamingConstants.JavaColonNamespace
match(java.lang.String name)
  1. java.lang.String
prefix()
  1. java.lang.String
qualifiedName()
  1. java.lang.String
toString()
  1. java.lang.String
unprefix(java.lang.String name)
  1. static
  2. NamingConstants.JavaColonNamespace
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
  1. static
  2. NamingConstants.JavaColonNamespace[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Enum Constant Detail

COMP

  1. public static final NamingConstants.JavaColonNamespace COMP

COMP_ENV

  1. public static final NamingConstants.JavaColonNamespace COMP_ENV

COMP_WS

  1. public static final NamingConstants.JavaColonNamespace COMP_WS

GLOBAL

  1. public static final NamingConstants.JavaColonNamespace GLOBAL

APP

  1. public static final NamingConstants.JavaColonNamespace APP

MODULE

  1. public static final NamingConstants.JavaColonNamespace MODULE

Method Detail

values

  1. public static NamingConstants.JavaColonNamespace[] values( )
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NamingConstants.JavaColonNamespace c : NamingConstants.JavaColonNamespace.values())   
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

  1. public static NamingConstants.JavaColonNamespace valueOf( java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

match

  1. public static NamingConstants.JavaColonNamespace match( java.lang.String name)

toString

  1. public java.lang.String toString( )
Overrides:
toString in class java.lang.Enum<NamingConstants.JavaColonNamespace>

qualifiedName

  1. public java.lang.String qualifiedName( )

prefix

  1. public java.lang.String prefix( )

unprefix

  1. public java.lang.String unprefix( java.lang.String name)

isComp

  1. public boolean isComp()
Returns true if the namespace belongs to java:comp.