com.nitido.nim
Class CachableNugget
java.lang.Object
com.nitido.nim.Nugget
com.nitido.nim.CachableNugget
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PABNugget, WcapNugget
public abstract class CachableNugget
- extends Nugget
The super class of all CachableNugget.
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 CachableNugget interface.
A CachableNugget will instantiated and attached to the associated Entity
object. It will not be instantiated again unless the invoker explicitly
release the Nugget instance from the Entity.
- See Also:
- Serialized Form
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 |
CachableNugget
public CachableNugget(NuggetVisa visa)
throws NiMRuntimeException
- Default constructor.
- Throws:
NiMRuntimeException
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!).
These JavaDoc pages are generated for release/nim_2_5-2.5.44 Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.