Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.portlet.impl.jsr168
Class ClassInstanceLifeCycle<T>

    java.lang.Object
      org.jboss.portal.portlet.impl.jsr168.ClassInstanceLifeCycle<T>

    public class ClassInstanceLifeCycle<T>

extends java.lang.Object

Version:
  $Revision: 630 $
Author:
  Julien Viet

Constructor Summary
`ClassInstanceLifeCycle(org.apache.log4j.Logger log, java.lang.Class<T> expectedClass, java.lang.ClassLoader classLoader, java.lang.String className, java.lang.String type)`

Method Summary
`void` | `create()`
`void` | `destroy()`
`T` | `getInstance()`
`protected void` | `start(T instance)`
`protected void` | `stop(T instance)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ClassInstanceLifeCycle

    public ClassInstanceLifeCycle(org.apache.log4j.Logger log,
                                  java.lang.Class<T> expectedClass,
                                  java.lang.ClassLoader classLoader,
                                  java.lang.String className,
                                  java.lang.String type)

Method Detail

### create

    public void create()
                throws PortletInitializationException

  Throws:
    `PortletInitializationException`

### destroy

    public void destroy()

### getInstance

    public T getInstance()

### start

    protected void start(T instance)
                  throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### stop

    protected void stop(T instance)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008. All Rights Reserved.