Nitido Inc.

com.nitido.nim
Class NonCachableNugget

java.lang.Object
  extended by com.nitido.nim.Nugget
      extended by com.nitido.nim.NonCachableNugget
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExternalMailNugget, IPlanetSettingsNugget

public abstract class NonCachableNugget
extends Nugget

The super class of NonCachableNugget.

The Nugget class is the base class for all Nugget objects. Nuggets provide entities access to authenticated or non-authenticated back-end services. It is important to remember that Nuggets can only be instantiated through the createNugget() method on Entity. This ensures the all nugget instances are associated to an entity in the system.

Nuggets are used to access different types of services and as such different Nugget classes may have very different programming interfaces. This class provides the base NonCachableNugget interface.

A NonCachableNugget will be instantiated everytime that getEntity() is invoked. A NonCachableNugget is usually used by Nugget implementations that are not thread safe. For example, a Nugget that needs to manages transaction that involves multiple method calls.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.nitido.nim.Nugget
_entity, _nim, _nuggetName, _settings
 
Constructor Summary
NonCachableNugget(NuggetVisa visa)
           
 
Method Summary
 boolean isCachable()
          This method indicates whether the Nugget implementation is a cachable nugget.
 
Methods inherited from class com.nitido.nim.Nugget
activate, deactivate, destroy, destroyImpl, getDescriptor, getEntity, getNuggetName, getSetting, getSettings, init, initImpl, requestBegin, requestEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonCachableNugget

public NonCachableNugget(NuggetVisa visa)
                  throws NiMRuntimeException
Throws:
NiMRuntimeException
Method Detail

isCachable

public final boolean isCachable()
This method indicates whether the Nugget implementation is a cachable nugget.

Specified by:
isCachable in class Nugget
Returns:
true (always!).

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.