org.sakaiproject.component.test.components
Class Component1

java.lang.Object
  extended byorg.sakaiproject.component.test.components.Component1
All Implemented Interfaces:
Api1

public class Component1
extends Object
implements Api1

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
Component1()
           
 
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

Component1

public Component1()
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: Api1
A method.

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