org.jboss.weld.wicket.util
Class NonContextual.Instance<T>

java.lang.Object
  extended by org.jboss.weld.wicket.util.NonContextual.Instance<T>
Type Parameters:
T -
Enclosing class:
NonContextual<T>

public static class NonContextual.Instance<T>
extends java.lang.Object

Represents a non-contextual instance

Author:
pmuir

Method Summary
 NonContextual.Instance<T> dispose()
          Dispose of the instance, doing any necessary cleanup
 T get()
          Get the instance
 NonContextual.Instance<T> inject()
          Inject the instance
 NonContextual.Instance<T> postConstruct()
          Call the @PostConstruct callback
 NonContextual.Instance<T> preDestroy()
          Call the @PreDestroy callback
 NonContextual.Instance<T> produce()
          Create the instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public T get()
Get the instance

Returns:

produce

public NonContextual.Instance<T> produce()
Create the instance

Returns:

inject

public NonContextual.Instance<T> inject()
Inject the instance

Returns:

postConstruct

public NonContextual.Instance<T> postConstruct()
Call the @PostConstruct callback

Returns:

preDestroy

public NonContextual.Instance<T> preDestroy()
Call the @PreDestroy callback

Returns:

dispose

public NonContextual.Instance<T> dispose()
Dispose of the instance, doing any necessary cleanup



Copyright © 2008-2009 Seam Framework. All Rights Reserved.