org.apache.synapse.registry
Interface RegistryEntry

All Known Implementing Classes:
RegistryEntryImpl

public interface RegistryEntry

This interface defines the core information to be returned by a Registry implementation about a resource being managed by it. Every Registry implementation *must* provide valid information for the methods marked below as 'required'


Method Summary
 long getCachableDuration()
          The number of milliseconds this resource could be cached
 long getCreated()
          The created time for the resource - optional
 String getDescription()
          A description for the resource - optional
 String getKey()
          The key for the resource - required
 long getLastModified()
          The last updated time for the resource - optional
 String getName()
          A name for the resource - optional
 String getType()
          The type of the resource - optional
 long getVersion()
          The version of the resource - required
 

Method Detail

getKey

String getKey()
The key for the resource - required


getName

String getName()
A name for the resource - optional


getVersion

long getVersion()
The version of the resource - required


getType

String getType()
The type of the resource - optional


getDescription

String getDescription()
A description for the resource - optional


getCreated

long getCreated()
The created time for the resource - optional


getLastModified

long getLastModified()
The last updated time for the resource - optional


getCachableDuration

long getCachableDuration()
The number of milliseconds this resource could be cached



Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.