com.tc.object.loaders
Class LoaderDescription

java.lang.Object
  extended by com.tc.object.loaders.LoaderDescription

public final class LoaderDescription
extends java.lang.Object

Identifies the ClassLoader used to load a particular clustered class. The actual ClassLoader identified by a LoaderDescription may differ from node to node depending on what loaders are available on that node. This is an immutable class.


Constructor Summary
LoaderDescription(java.lang.String appGroup, java.lang.String name)
           
 
Method Summary
 java.lang.String appGroup()
           
 boolean equals(java.lang.Object obj)
           
static LoaderDescription fromString(java.lang.String desc)
          Deprecated. this will be removed as soon as development is complete.
 int hashCode()
           
 java.lang.String name()
           
 java.lang.String toDelimitedString()
          will be removed when development is complete
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoaderDescription

public LoaderDescription(java.lang.String appGroup,
                         java.lang.String name)
Parameters:
appGroup - the name of a set of applications which can share the same loader, or null if the loader is not allowed to be shared. The empty string is equivalent to null.
name - the classloader description (typically from NamedClassLoader). Must be non-empty.
Method Detail

name

public java.lang.String name()

appGroup

public java.lang.String appGroup()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a string including the appGroup and name tokens. The delimiter used to separate them may also occur within either token, so this string should not be parsed to recover the individual tokens.

toDelimitedString

public java.lang.String toDelimitedString()
will be removed when development is complete


hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

fromString

public static LoaderDescription fromString(java.lang.String desc)
Deprecated. this will be removed as soon as development is complete.



Copyright © 2010 Terracotta, Inc.. All Rights Reserved.