com.caucho.config.program
Class NamedProgram

java.lang.Object
  extended by com.caucho.config.program.ConfigProgram
      extended by com.caucho.config.program.NamedProgram
All Implemented Interfaces:
java.lang.Comparable<ConfigProgram>

public abstract class NamedProgram
extends ConfigProgram

A program with a name


Constructor Summary
NamedProgram()
           
 
Method Summary
abstract  java.lang.String getName()
          Returns the injection name.
 java.lang.String toString()
          Returns the string representation.
 
Methods inherited from class com.caucho.config.program.ConfigProgram
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getDeclaringClass, getPriority, getQName, init, inject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedProgram

public NamedProgram()
Method Detail

getName

public abstract java.lang.String getName()
Returns the injection name.

Overrides:
getName in class ConfigProgram

toString

public java.lang.String toString()
Returns the string representation.

Overrides:
toString in class java.lang.Object