org.sakaiproject.component.test.components
Class Component2

java.lang.Object
  extended byorg.sakaiproject.component.test.components.Component2
All Implemented Interfaces:
Api2

public class Component2
extends Object
implements Api2

Example manager API implementation component.

Version:
$Revision: 632 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
protected  int m_counter
          A counter.
 
Constructor Summary
Component2()
           
 
Method Summary
 void destroy()
           
 void init()
          Final initialization, once all dependencies are set.
 String method()
          A method.
 void setValue(String value)
          Configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_counter

protected int m_counter
A counter.

Constructor Detail

Component2

public Component2()
Method Detail

setValue

public void setValue(String value)
Configure

Parameters:
value - The configuration value.

init

public void init()
Final initialization, once all dependencies are set.


destroy

public void destroy()

method

public String method()
Description copied from interface: Api2
A method.

Specified by:
method in interface Api2
Returns:
Some string.