A B C D E F G H I J K L M N O P Q R S T U V W X

A

abort() - Method in class net.larsan.urd.service.user.jaas.UrdLoginModule
 
Acceptor - class net.larsan.urd.cmd.Acceptor.
Acceptor class.
Acceptor(String, int) - Constructor for class net.larsan.urd.cmd.Acceptor
 
ACCESS_PERMISSION - Static variable in class net.larsan.urd.jndi.ContextBase
 
AccessPermission - class net.larsan.urd.jndi.AccessPermission.
This is a trvial permission used to make sure no service code can execute directly on the jndi context.
AccessPermission() - Constructor for class net.larsan.urd.jndi.AccessPermission
Trivial permission constructor.
add(Substitution) - Method in class net.larsan.urd.ant.website.Compiler
Add substitution object to compiler.
addCmdListener(CmdEventListener) - Method in class net.larsan.urd.cmd.CmdServer
Add a command line event listener.
addContextListener(ContextListener) - Method in interface net.larsan.norna.ContextNotifier
Add a context listener to this notifier.
addContextListener(String, ContextListener) - Method in interface net.larsan.norna.ContextNotifier
Add a context listener to this notifier.
addFileSetListener(FileSetListener) - Method in interface net.larsan.urd.util.fileset.WatchableFileSet
Register file set listener.
addFileSetListener(FileSetListener) - Method in class net.larsan.urd.util.fileset.JarFileSet
Register file set listener.
addFileSetListener(FileSetListener) - Method in class net.larsan.urd.util.fileset.WatchedFileSet
Register file set listener.
addFileSetListener(FileSetListener) - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Register file set listener.
addFilter(Filter) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
addFilter(Filter) - Method in interface net.larsan.norna.service.log.LogHandle
Add a log filter to the handle.
addHandler(EventHandler) - Method in class net.larsan.urd.jndi.NSEventQueue
 
addListener(NamespaceChangeListener) - Method in class net.larsan.urd.jndi.EventHandler
 
addListener(Object) - Method in class net.larsan.urd.util.EventInvoker
Add a listener to this event broadcaster.
addNamingListener(Name, int, NamingListener) - Method in class net.larsan.urd.jndi.ContextBase
 
addNamingListener(String, int, NamingListener) - Method in class net.larsan.urd.jndi.ContextBase
 
addPackage(String) - Method in interface net.larsan.urd.archive.PackageSet
Add package name to set.
addRegistryListener(Properties, RegistryListener) - Method in class net.larsan.urd.impl.Registry
Get a service by id.
addRegistryListener(Properties, RegistryListener) - Method in class net.larsan.urd.impl.RegEventQueue
Get a service by id.
addRegistryListener(Properties, RegistryListener) - Method in interface net.larsan.norna.ServiceRegistry
Add a service listener to the registry.
addRegistryListener(RegistryListener) - Method in class net.larsan.urd.impl.Registry
Please refer to to the Norna ServiceRegistry documentation.
addRegistryListener(RegistryListener) - Method in class net.larsan.urd.impl.RegEventQueue
Please refer to to the Norna ServiceRegistry documentation.
addRegistryListener(RegistryListener) - Method in interface net.larsan.norna.ServiceRegistry
Add a service listener to the registry.
addServerListener(UrdServerListener) - Method in class net.larsan.urd.impl.UrdServer
Add listener to this server.
addToEnvironment(String, Object) - Method in class net.larsan.urd.jndi.ContextBase
Add to environment
afterExecution(Runnable) - Method in class net.larsan.urd.util.ThreadPool
This method is called just after a target is executed by the thread pool by the thread that will execute the target.
AlreadyRegisteredException - exception net.larsan.urd.impl.AlreadyRegisteredException.
An exception indicating the a service have either tried to be registered twice or that an ID is already in use.
AlreadyRegisteredException(String) - Constructor for class net.larsan.urd.impl.AlreadyRegisteredException
 
ArchiveLoader - class net.larsan.urd.archive.ArchiveLoader.
A secure class loader for a norna archive.
ArchiveLoader(ClassLoader, JarArchive, SharedSpace) - Constructor for class net.larsan.urd.archive.ArchiveLoader
Create the class loader from a JAR archive.
ArrayUtils - class net.larsan.urd.util.ArrayUtils.
Some static array helper methods.
ArrayUtils() - Constructor for class net.larsan.urd.util.ArrayUtils
 
attachServer(UrdServer) - Method in class net.larsan.urd.cmd.CmdServer
 
attachServer(UrdServer) - Method in interface net.larsan.urd.impl.Controller
Attach server to controller.
AttributeReflector - class net.larsan.urd.conf.AttributeReflector.
A simple base class used by fatories.
AttributeReflector() - Constructor for class net.larsan.urd.conf.AttributeReflector
 
authenticate(char[]) - Method in interface net.larsan.norna.service.user.Authenticator
Authenticate a user using credentials.
authenticate(char[], LoginListener[]) - Method in interface net.larsan.norna.service.user.Authenticator
Authenticate a user and notify listeners.
AuthenticationFailedException - exception net.larsan.norna.service.user.AuthenticationFailedException.
Authentication of a user failed.
AuthenticationFailedException() - Constructor for class net.larsan.norna.service.user.AuthenticationFailedException
Create an exception without a message.
AuthenticationFailedException(String) - Constructor for class net.larsan.norna.service.user.AuthenticationFailedException
Create ane xception with a message.
Authenticator - interface net.larsan.norna.service.user.Authenticator.
The authenticator is a simple interface for authenticating a user.
autoStart - Variable in class net.larsan.urd.impl.ContainerBase
Autostart services.
autoStart(Servicebox) - Method in class net.larsan.urd.impl.ContainerBase
Autostart a service.
AutoStartTask - class net.larsan.urd.impl.AutoStartTask.
Simple runnable task for starting all auto-start services.
AutoStartTask(Context, DefaultErrorHandler) - Constructor for class net.larsan.urd.impl.AutoStartTask
 
availableIndirections() - Method in interface net.larsan.norna.service.user.IndirectionFactory
Get available indirections.

B

beforeExecution(Runnable) - Method in class net.larsan.urd.util.ThreadPool
This method is called just before a target is executed by the thread pool by the thread that will execute the target.
bind(Name, Object) - Method in class net.larsan.urd.jndi.ContextImpl
 
bind(String, Object) - Method in class net.larsan.urd.impl.ClientContext
Please refer to the Namespace documenation.
bind(String, Object) - Method in class net.larsan.urd.jndi.ContextBase
 
bind(String, Object) - Method in interface net.larsan.norna.Namespace
Put an object into the context space.

C

Certifiable - interface net.larsan.urd.util.Certifiable.
A simple interface for classes/resources or other animals that happend to be signed.
checkAccess() - Method in class net.larsan.urd.jndi.ContextBase
Check access permission.
checkAccess(Level) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
checkAccess(Level) - Method in interface net.larsan.norna.service.log.LogHandle
Check if the handle would accept a log record based on a level.
checkAccess(Level, Type) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
checkAccess(Level, Type) - Method in interface net.larsan.norna.service.log.LogHandle
Check if the handle would accept a log record with a level and type.
checkScan() - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Check if the file still exists or have been modified
ClassFileSet - class net.larsan.urd.util.fileset.ClassFileSet.
A class file set is a recursive file set that only looks for classes.
ClassFileSet(File) - Constructor for class net.larsan.urd.util.fileset.ClassFileSet
Construct file set with a root folder.
ClassFileSet(File, Timer) - Constructor for class net.larsan.urd.util.fileset.ClassFileSet
Contruct a file with a root folder and an external timer that should be used for the file set watch mechanism.
cleanup() - Method in class net.larsan.urd.impl.UrdServer
Cleanup resources
clear() - Method in class net.larsan.urd.util.EventInvoker
Clear this handler of all listeners.
clear() - Method in class net.larsan.urd.jndi.RootContext
 
clear() - Static method in class net.larsan.norna.util.ThreadScope
Clear the current execution stack of all IDs.
clearCredentials() - Method in class net.larsan.norna.service.user.Indirection
Clear credentials from this object.
ClientContext - class net.larsan.urd.impl.ClientContext.
A wrapper for the Urd JNDI context for the services to use.
ClientContext(ContextBase) - Constructor for class net.larsan.urd.impl.ClientContext
 
clone() - Method in class net.larsan.urd.jndi.ContextImpl
Create a cloned context.
close() - Method in class net.larsan.urd.util.ThreadPool
Close the pool.
close() - Method in class net.larsan.urd.jndi.RootContext
 
close() - Method in class net.larsan.urd.jndi.ContextBase
Deregister event handler
close() - Method in class net.larsan.urd.jndi.ContextImpl
 
CmdEvent - class net.larsan.urd.cmd.CmdEvent.
The command event is thrown by the command reader.
CmdEvent(int, CmdWriter) - Constructor for class net.larsan.urd.cmd.CmdEvent
Create an event.
CmdEvent(int, CmdWriter, String[]) - Constructor for class net.larsan.urd.cmd.CmdEvent
Create an event with a type and arguments.
CmdEventListener - interface net.larsan.urd.cmd.CmdEventListener.
A module that listens for command line events.
CmdOptions - class net.larsan.urd.CmdOptions.
A simple command line parser class.
CmdOptions(String[]) - Constructor for class net.larsan.urd.CmdOptions
Create options object
CmdReader - class net.larsan.urd.cmd.CmdReader.
 
CmdReader(Selector) - Constructor for class net.larsan.urd.cmd.CmdReader
 
CmdServer - class net.larsan.urd.cmd.CmdServer.
A non-blocking command line server for the Urd framework server.
CmdServer() - Constructor for class net.larsan.urd.cmd.CmdServer
 
CmdServerFactory - class net.larsan.urd.cmd.CmdServerFactory.
Configuration factory for the Cmd Server.
CmdServerFactory() - Constructor for class net.larsan.urd.cmd.CmdServerFactory
 
CmdTable - class net.larsan.urd.cmd.CmdTable.
A simple class to hold table information.
CmdTable() - Constructor for class net.larsan.urd.cmd.CmdTable
 
CmdWriter - interface net.larsan.urd.cmd.CmdWriter.
A simple interface for the Urd server to use when answering incoming CmdEvents.
CmdWriterImpl - class net.larsan.urd.cmd.CmdWriterImpl.
A writer object for the command line server.
CmdWriterImpl(SocketChannel) - Constructor for class net.larsan.urd.cmd.CmdWriterImpl
 
commit() - Method in interface net.larsan.urd.cmd.CmdWriter
Flush output to channels.
commit() - Method in class net.larsan.urd.cmd.CmdWriterImpl
Commit result to output channel.
commit() - Method in class net.larsan.urd.service.user.jaas.UrdLoginModule
 
compareTo(Object) - Method in class net.larsan.norna.service.log.Level
Comparable implementation in descending order.
compile(DocBody, File) - Method in class net.larsan.urd.ant.website.Compiler
Take an input stream and transform it using the current compiler state.
compile(DocBody, OutputStream) - Method in class net.larsan.urd.ant.website.Compiler
Take an input stream and transform it using the current compiler state.
Compiler - class net.larsan.urd.ant.website.Compiler.
A simple page compiler for the Urd website.
CompilerException - exception net.larsan.urd.ant.website.CompilerException.
Trivial nested exception
CompilerException() - Constructor for class net.larsan.urd.ant.website.CompilerException
 
CompilerException(String) - Constructor for class net.larsan.urd.ant.website.CompilerException
 
CompilerException(String, Throwable) - Constructor for class net.larsan.urd.ant.website.CompilerException
 
CompilerException(Throwable) - Constructor for class net.larsan.urd.ant.website.CompilerException
 
ComponentFactory - interface net.larsan.urd.conf.ComponentFactory.
A component factory create Urd components from DOM specifications.
composeName(Name, Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
composeName(String, String) - Method in class net.larsan.urd.jndi.ContextBase
 
CONFIG - Static variable in class net.larsan.norna.service.log.Type
Configuration record type.
ConfigurationException - exception net.larsan.urd.conf.ConfigurationException.
A nested exception for the config mechanism.
ConfigurationException() - Constructor for class net.larsan.urd.conf.ConfigurationException
 
ConfigurationException(String) - Constructor for class net.larsan.urd.conf.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for class net.larsan.urd.conf.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for class net.larsan.urd.conf.ConfigurationException
 
connect(CmdOptions) - Method in class net.larsan.urd.Control
 
Connection - class net.larsan.urd.cmd.Connection.
 
Connection(SocketChannel, ServerContext) - Constructor for class net.larsan.urd.cmd.Connection
 
Connections - class net.larsan.urd.cmd.Connections.
Stack for incoming connections in the command line server.
Connections(Selector) - Constructor for class net.larsan.urd.cmd.Connections
The semaphor selector will be called with wakeup when there's a new connection in the list.
Constants - class net.larsan.urd.Constants.
Some constant values for the Urd server.
Constants() - Constructor for class net.larsan.urd.Constants
 
Container - interface net.larsan.urd.impl.Container.
A container is an abstraction for a place from which one or more service is excpected to be loaded.
ContainerBase - class net.larsan.urd.impl.ContainerBase.
A container is an abstraction for a place from which one or more service is excpected to be loaded.
ContainerBase(ContextBase, String) - Constructor for class net.larsan.urd.impl.ContainerBase
Create container
ContainerException - exception net.larsan.urd.impl.ContainerException.
A nested exception for container failures.
ContainerException(String) - Constructor for class net.larsan.urd.impl.ContainerException
 
ContainerException(String, Throwable) - Constructor for class net.larsan.urd.impl.ContainerException
 
ContainerException(Throwable) - Constructor for class net.larsan.urd.impl.ContainerException
 
containsPackage(String) - Method in interface net.larsan.urd.archive.PackageSet
Check if the set contains a package.
context - Variable in class net.larsan.urd.jndi.ContextVisitor
 
Context - interface net.larsan.norna.Context.
A context is a named subpart of a Norna Namespace.
CONTEXT - Static variable in class net.larsan.urd.jndi.RootContext
 
ContextBase - class net.larsan.urd.jndi.ContextBase.
Abstract base class for the Urd JNDI context.
ContextBase(ContextBase, Hashtable, String) - Constructor for class net.larsan.urd.jndi.ContextBase
 
ContextEvent - class net.larsan.norna.ContextEvent.
Context event.
ContextEvent(int, String, String) - Constructor for class net.larsan.norna.ContextEvent
Constructor for ContextEvent.
ContextFactoryImpl - class net.larsan.urd.jndi.ContextFactoryImpl.
Initial context factory for the Urd JNDI service.
ContextFactoryImpl() - Constructor for class net.larsan.urd.jndi.ContextFactoryImpl
 
ContextImpl - class net.larsan.urd.jndi.ContextImpl.
Urd JNDI context implementation.
ContextImpl(ContextBase, Hashtable, String) - Constructor for class net.larsan.urd.jndi.ContextImpl
 
ContextImpl(Hashtable) - Constructor for class net.larsan.urd.jndi.ContextImpl
 
ContextListener - interface net.larsan.norna.ContextListener.
A listener interface for ContextEvents.
ContextNotifier - interface net.larsan.norna.ContextNotifier.
A context notifier is responsible for context changes in the namespace it governs.
ContextPermission - class net.larsan.norna.ContextPermission.
A context permission works much like a file permissions.
ContextPermission(String, String) - Constructor for class net.larsan.norna.ContextPermission
Create a permission using a target and an action string.
ContextUtils - class net.larsan.urd.util.ContextUtils.
This class contains some static helper methods for jndi context operations
ContextUtils() - Constructor for class net.larsan.urd.util.ContextUtils
 
ContextVisitor - class net.larsan.urd.jndi.ContextVisitor.
An abstract JNDI context visitor.
ContextVisitor(Context, ErrorHandler) - Constructor for class net.larsan.urd.jndi.ContextVisitor
Create visitor
Control - class net.larsan.urd.Control.
Command line control connector.
Control() - Constructor for class net.larsan.urd.Control
 
Control(String) - Constructor for class net.larsan.urd.Control
 
Controller - interface net.larsan.urd.impl.Controller.
A controller is attached to the Urd Server.
copyAttributeProperties(Node) - Static method in class net.larsan.urd.util.XMLUtils
Take a node and copy it's attributes into a property object.
CRAM_MD5_Indirection - class net.larsan.urd.service.user.CRAM_MD5_Indirection.
A CRAM MD5 (rfc 2195) indirection.
CRAM_MD5_Indirection() - Constructor for class net.larsan.urd.service.user.CRAM_MD5_Indirection
 
CRAM_MD5_IndirectionTest - class net.larsan.urd.service.user.test.CRAM_MD5_IndirectionTest.
 
CRAM_MD5_IndirectionTest(String) - Constructor for class net.larsan.urd.service.user.test.CRAM_MD5_IndirectionTest
 
createComponent(Properties) - Method in class net.larsan.urd.cmd.CmdServerFactory
 
createComponent(Properties) - Method in class net.larsan.urd.impl.DirectoryContainerFactory
 
createComponent(Properties) - Method in interface net.larsan.urd.conf.ComponentFactory
Create object.
createComponent(Properties, NodeList) - Method in class net.larsan.urd.cmd.CmdServerFactory
 
createComponent(Properties, NodeList) - Method in class net.larsan.urd.impl.DirectoryContainerFactory
 
createComponent(Properties, NodeList) - Method in interface net.larsan.urd.conf.ComponentFactory
Create object.
CREATED - Static variable in class net.larsan.norna.Status
Created status.
createDateProperty() - Method in class net.larsan.urd.ant.WebsiteCompiler
 
createIndirection(String) - Method in interface net.larsan.norna.service.user.IndirectionFactory
Create a new indirection.
createProperty() - Method in class net.larsan.urd.ant.WebsiteCompiler
 
createSubcontext(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
createSubcontext(String) - Method in class net.larsan.urd.jndi.ContextBase
 
createSubstitution() - Method in class net.larsan.urd.ant.WebsiteCompiler
 
createThread(Runnable) - Method in class net.larsan.urd.util.ThreadPool
Create a new thread.
creationBind(Context, String, Object) - Static method in class net.larsan.urd.util.ContextUtils
Do a bind and attempt to create all non-existent subcontexts needed by the name.
creationRebind(Context, String, Object) - Static method in class net.larsan.urd.util.ContextUtils
Do a rebind and attempt to create all non-existent subcontexts needed by the name.
credentials - Variable in class net.larsan.norna.service.user.Indirection
 
current() - Static method in class net.larsan.norna.util.ThreadScope
Get the ID of the current executing service.

D

DEBUG - Static variable in class net.larsan.norna.service.log.Type
Debug record type.
DEFAULT_BUFFER_SIZE - Static variable in class net.larsan.urd.util.IOUtils
Default buffer size for buffered operation in this class, 2048 bytes.
DEFAULT_LABEL - Static variable in class net.larsan.urd.ant.website.DocBody
Default body label for template substitutions
DefaultErrorHandler - class net.larsan.urd.impl.DefaultErrorHandler.
A default error handler class.
DefaultErrorHandler(Context) - Constructor for class net.larsan.urd.impl.DefaultErrorHandler
Create new error handler
DefaultRecord - class net.larsan.urd.impl.DefaultRecord.
A default record type for the Urd server.
DefaultRecord() - Constructor for class net.larsan.urd.impl.DefaultRecord
 
DefaultRecord(String, String, Throwable) - Constructor for class net.larsan.urd.impl.DefaultRecord
 
DefaultRecord(String, Throwable) - Constructor for class net.larsan.urd.impl.DefaultRecord
 
Delegator - interface net.larsan.norna.base.Delegator.
A delegator is a context node which is responsible for a sub-context namespace.
deliverEvent(Object, Object) - Method in class net.larsan.urd.util.EventQueue
Invoke an event on a listener.
deliverEvent(Object, Object) - Method in class net.larsan.urd.impl.RegEventQueue
 
deliverEvent(Object, Object) - Method in class net.larsan.urd.jndi.NSEventQueue
Deliver event
deregister() - Method in class net.larsan.urd.jndi.EventHandler
 
destroy() - Method in class net.larsan.urd.util.fileset.JarFileSet.JarResource
Destroy this resource.
destroy() - Method in class net.larsan.urd.service.user.Service
 
destroy() - Method in class net.larsan.urd.service.log.Service
 
destroy() - Method in class net.larsan.urd.impl.ContainerBase
Destroy component.
destroy() - Method in class net.larsan.urd.impl.DirectoryContainer
Destroy container.
destroy() - Method in class net.larsan.urd.impl.Servicebox
Destroy servicebox.
destroy() - Method in class net.larsan.urd.impl.Standalone
Clean up all available resources.
destroy() - Method in interface net.larsan.urd.impl.Destroyable
Destroy component.
destroy() - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
destroy() - Method in interface net.larsan.norna.base.Initializable
Destroy this service.
Destroyable - interface net.larsan.urd.impl.Destroyable.
The destroyable interface is used by the norna framework to finalize components as found in the JNDI context regardles off their base type.
DESTROYED - Static variable in class net.larsan.norna.Status
Destroyed status.
destroySubcontext(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
destroySubcontext(String) - Method in class net.larsan.urd.jndi.ContextBase
 
destroyThread(Thread) - Method in class net.larsan.urd.util.ThreadPool
Destroy a thread.
digest(byte[]) - Method in class net.larsan.urd.util.HMAC
Get digest.
digest(byte[], int, int) - Method in class net.larsan.urd.util.HMAC
Get digest.
DirectoryContainer - class net.larsan.urd.impl.DirectoryContainer.
A directory container scans a directory looking for service archives.
DirectoryContainer(File, ContextBase, String) - Constructor for class net.larsan.urd.impl.DirectoryContainer
Create directory.
DirectoryContainerFactory - class net.larsan.urd.impl.DirectoryContainerFactory.
This factory creates directory containers.
DirectoryContainerFactory() - Constructor for class net.larsan.urd.impl.DirectoryContainerFactory
 
disconnect() - Method in class net.larsan.urd.Control
 
doAutoStarts() - Method in class net.larsan.urd.impl.ContainerBase
Attempt to start all autostart services.
doAutoStarts() - Method in class net.larsan.urd.impl.DirectoryContainer
Attempt to start all autostart services.
doAutoStarts() - Method in interface net.larsan.urd.impl.Container
 
DocBody - class net.larsan.urd.ant.website.DocBody.
A document body is an document that gets iserted into a template.
DocBody(File) - Constructor for class net.larsan.urd.ant.website.DocBody
 
document - Variable in class net.larsan.urd.ant.website.DocBody
 
doScan() - Method in class net.larsan.urd.util.fileset.JarFile
Perfom scan.
doScan() - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Perfom scan.
dumpThreads() - Method in class net.larsan.urd.impl.UrdServer
Print all threads

E

enter(String) - Static method in class net.larsan.norna.util.ThreadScope
Enter thread scope from a particular ID.
env - Variable in class net.larsan.urd.jndi.ContextBase
 
Environment - interface net.larsan.norna.Environment.
The environment is a helper interface used by the framework to inform its services about the runtime environment.
equals(Object) - Method in class net.larsan.urd.util.NURL
 
equals(Object) - Method in class net.larsan.urd.util.fileset.ResourceBase
Equality check on the relative path.
equals(Object) - Method in class net.larsan.urd.service.user.jaas.UrdPrincipal
 
equals(Object) - Method in class net.larsan.urd.jndi.FilterEventListener
 
equals(Object) - Method in class net.larsan.norna.PackagePermission
Check equality on target name and actions.
equals(Object) - Method in class net.larsan.norna.Status
Check equality
equals(Object) - Method in class net.larsan.norna.ContextPermission
Check equality on target name and actions.
equals(Object) - Method in class net.larsan.norna.ServicePermission
Check equality on target name and actions.
equals(Object) - Method in class net.larsan.norna.service.log.Level
Equality check on severity level
equals(Object) - Method in class net.larsan.norna.service.log.Type
Equality check on record type
equals(Object) - Method in class net.larsan.norna.util.ThreadScopePermission
Check equality on target name and actions.
ERROR - Static variable in class net.larsan.norna.service.log.Type
Error record type.
errorHandler - Variable in class net.larsan.urd.util.fileset.ResourceBase
Error handler
errorHandler - Variable in class net.larsan.urd.impl.ContainerBase
Error handle for the container
ErrorHandler - class net.larsan.urd.util.ErrorHandler.
A generalized error handler interface for the Norna package.
ErrorHandler() - Constructor for class net.larsan.urd.util.ErrorHandler
 
EventHandler - class net.larsan.urd.jndi.EventHandler.
An event handler for the Urd JNDI context.
EventHandler(NSEventQueue) - Constructor for class net.larsan.urd.jndi.EventHandler
 
EventInvoker - class net.larsan.urd.util.EventInvoker.
An event invocation handler is a generic broadcatser for events to use with a java.lang.reflect.Proxy.
EventInvoker() - Constructor for class net.larsan.urd.util.EventInvoker
Create invocation handler.
EventInvoker(int) - Constructor for class net.larsan.urd.util.EventInvoker
Create invocation handler with a initial size.
EventQueue - class net.larsan.urd.util.EventQueue.
An abstract base class for asynchronouns event dispatching.
EventQueue() - Constructor for class net.larsan.urd.util.EventQueue
 
EventQueue(Executor) - Constructor for class net.larsan.urd.util.EventQueue
 
execute() - Method in class net.larsan.urd.ant.WebsiteCompiler
Execute task.
execute() - Method in class net.larsan.urd.ant.PackageTask
Do execute.
execute(Runnable) - Method in interface net.larsan.urd.util.Executor
Execute a runnable target.
execute(Runnable) - Method in class net.larsan.urd.util.ThreadPool
Execute a runnable.
Executor - interface net.larsan.urd.util.Executor.
The executor is a simple interface with one method, the execute method.
exists() - Method in class net.larsan.urd.util.fileset.ResourceBase
Check if the resource is valid.
exists() - Method in class net.larsan.urd.util.fileset.JarFileSet.JarResource
Check if the resource is valid.
exists() - Method in class net.larsan.urd.util.fileset.FileResource
Check if the resource is valid.
exit(String) - Static method in class net.larsan.norna.util.ThreadScope
Exit current ID scope.
EXPORT_PACKAGE - Static variable in class net.larsan.urd.archive.ServiceArchive
Attribute name for the exported packages of a class.
export(Exporter) - Method in class net.larsan.urd.archive.JarArchive
Export resources from the JAR archive to the exporter object.
export(Resource) - Method in interface net.larsan.urd.archive.Exporter
Export resource.
Exporter - interface net.larsan.urd.archive.Exporter.
The exporter interface is used by arhives to export package resources to the shared class space.

F

FAILED - Static variable in class net.larsan.norna.Status
Failed status.
FAILURE - Static variable in class net.larsan.norna.service.log.Type
Failure record type.
file - Variable in class net.larsan.urd.util.fileset.TrivialFileSet
File to watch
FileParameters - class net.larsan.urd.impl.FileParameters.
A parameter dispatcher working on for a configuration file.
FileParameters(File, File, ErrorHandler) - Constructor for class net.larsan.urd.impl.FileParameters
Create parameters object.
filePath - Variable in class net.larsan.urd.util.fileset.ResourceBase
File path, relative to the file set root folder.
FileResource - class net.larsan.urd.util.fileset.FileResource.
A single file resource.
FileResource(File, String, File) - Constructor for class net.larsan.urd.util.fileset.FileResource
 
FileResource(File, String, File, long, ErrorHandler) - Constructor for class net.larsan.urd.util.fileset.FileResource
 
FileSet - class net.larsan.urd.util.fileset.FileSet.
A file set is an base class for monitored group of files.
FileSet(File) - Constructor for class net.larsan.urd.util.fileset.FileSet
Construct a file set using a root folder.
FileSetEvent - class net.larsan.urd.util.fileset.FileSetEvent.
A file set event is thrown by file sets implementing the WatchableFileSet when the set changes.
FileSetEvent(int, FileSet) - Constructor for class net.larsan.urd.util.fileset.FileSetEvent
Construct a new event using a type identifier, a source and a resource.
FileSetEvent(int, FileSet, Resource) - Constructor for class net.larsan.urd.util.fileset.FileSetEvent
Construct a new event using a type identifier, a source and a resource.
FileSetListener - interface net.larsan.urd.util.fileset.FileSetListener.
A file set event listener listens for changes to a file set.
FileUtils - class net.larsan.urd.util.FileUtils.
Some static file utilities.
FileUtils() - Constructor for class net.larsan.urd.util.FileUtils
 
Filter - interface net.larsan.norna.service.log.Filter.
Filter a log record before its recording.
filter(Record, FilterChain) - Method in interface net.larsan.norna.service.log.Filter
Filter a log record.
FilterChain - interface net.larsan.norna.service.log.FilterChain.
A filter chain represents a chain of filters responsible for formatting and handling a log record before it gets recorded.
FilterEventListener - class net.larsan.urd.jndi.FilterEventListener.
This event listener can contain a regexp filter to check incoming events.
FilterEventListener(NamespaceChangeListener) - Constructor for class net.larsan.urd.jndi.FilterEventListener
 
findClass(String) - Method in class net.larsan.urd.util.ResourceClassLoader
Find class, this method uses the resource locator to read the class bytes if possible.
findResource(String) - Method in class net.larsan.urd.util.ResourceClassLoader
Find resource, this method uses the resource locator to resolve the URL and return null in the URL is not found.
findResource(String) - Method in class net.larsan.urd.archive.ArchiveLoader
Find resource from the frameworks.
findResources(String) - Method in class net.larsan.urd.util.ResourceClassLoader
Find resources, this method returns a trivial enumeration over the return from the findResource method.
findRootContext() - Method in class net.larsan.urd.jndi.ContextBase
Find the root context of this namespace.
findServiceID(String) - Method in class net.larsan.urd.impl.ContainerBase
Resolve a service URL into an id.
findServiceID(String) - Method in interface net.larsan.urd.impl.Container
 
fireEvent(CmdEvent) - Method in interface net.larsan.urd.cmd.ServerContext
 
fireEvent(CmdEvent) - Method in class net.larsan.urd.cmd.CmdServer
 
firstScan(ErrorHandler) - Method in class net.larsan.urd.impl.DirectoryContainer
Scan directory for services a register them with super class
flush() - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
flush() - Method in interface net.larsan.norna.service.log.LogHandle
Flush this log handle to make sure no log records are cached.
FolderScanner - class net.larsan.urd.archive.FolderScanner.
The folder scanner a helper utility for managing folders of norna archive files.

G

getActions() - Method in class net.larsan.norna.PackagePermission
Get the actions of this permission.
getActions() - Method in class net.larsan.norna.ContextPermission
Get the actions of this permission.
getActions() - Method in class net.larsan.norna.ServicePermission
Get the actions of this permission.
getActions() - Method in class net.larsan.norna.util.ThreadScopePermission
Get the actions of this permission.
getActiveFiles() - Method in class net.larsan.urd.util.fileset.JarFileSet
Get the active archves files in this file set.
getAddress() - Method in class net.larsan.urd.CmdOptions
Get the root address.
getArchive() - Method in class net.larsan.urd.archive.JarArchive
Get the archive behind this JAR resource.
getArguments() - Method in class net.larsan.urd.cmd.CmdEvent
Get event arguments.
getAuthenticator(String) - Method in interface net.larsan.norna.service.user.UserHandle
Get an authenicator interface for a user.
getAuthenticator(String, Indirection) - Method in interface net.larsan.norna.service.user.UserHandle
Get an authentication that works by indirection.
getAutoStart() - Method in class net.larsan.urd.impl.ContainerBase
Determine if the services within this contianer should be auto-started.
getBindAddress() - Method in interface net.larsan.urd.cmd.ServerContext
 
getBindAddress() - Method in class net.larsan.urd.cmd.CmdServer
 
getBody() - Method in class net.larsan.urd.ant.website.DocBody
Get the document as a string
getByIdImpl(String) - Method in class net.larsan.urd.impl.ContainerBase
Get service by id.
getByPublicID(String) - Method in class net.larsan.urd.impl.Registry
Get a service by id.
getByPublicID(String) - Method in interface net.larsan.norna.ServiceRegistry
Get an iterator of service context URLs by an public ID.
getBytes() - Method in interface net.larsan.urd.util.Resource
Get a resource as a byte array.
getBytes() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get a byte array from the file.
getBytes() - Method in class net.larsan.urd.util.fileset.JarFileSet.JarResource
Get a byte array from the file.
getBytes() - Method in class net.larsan.urd.util.fileset.FileResource
Get a byte array from the file.
getByURL(String) - Method in class net.larsan.urd.impl.Registry
Get a service by url.
getByURL(String) - Method in interface net.larsan.norna.ServiceRegistry
Get a service handle by context URL.
getByURLImpl(String) - Method in class net.larsan.urd.impl.ContainerBase
Get service by url.
getCertificates() - Method in interface net.larsan.urd.util.Resource
Get resource Certificates if the resource have been signed.
getCertificates() - Method in interface net.larsan.urd.util.Certifiable
Get certificates for the object.
getCertificates() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get resource Certificates if the resource have been signed.
getCertificates() - Method in class net.larsan.urd.util.fileset.JarFileSet.JarResource
Get certificates for this entry.
getCertificates() - Method in class net.larsan.urd.util.fileset.FileResource
Get resource Certificates if the resource have been signed.
getCertificates(Resource) - Method in class net.larsan.urd.util.fileset.RegexpFileSet
Get the certificates for a resource.
getCertificates(Resource) - Method in class net.larsan.urd.util.fileset.JarFileSet
Get the certificates for a resource.
getCertificates(Resource) - Method in class net.larsan.urd.util.fileset.FileSet
Get the certificates for a resource.
getCertificates(Resource) - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Get the certificates for a resource.
getCodeSource() - Method in interface net.larsan.urd.util.Resource
Get the code source of a resource.
getCodeSource() - Method in class net.larsan.urd.util.fileset.JarFileSet.JarResource
Get the code source.
getCodeSource() - Method in class net.larsan.urd.util.fileset.FileResource
Get code source.
getCodeSource() - Method in class net.larsan.norna.service.user.LoginEvent
Get the code source for this event.
getCodeSource(Resource) - Method in class net.larsan.urd.util.ResourceClassLoader
Get the code source of a resource, this method returns null if no url for the code could be found.
getColumns() - Method in class net.larsan.urd.cmd.CmdTable
Get table column names.
getConfDir() - Method in class net.larsan.urd.CmdOptions
Get the config folder path.
getConnectionQueue() - Method in interface net.larsan.urd.cmd.ServerContext
 
getConnectionQueue() - Method in class net.larsan.urd.cmd.CmdServer
 
getContainerID() - Method in class net.larsan.urd.impl.ContainerBase
Get the container id.
getContainerID() - Method in class net.larsan.urd.impl.DirectoryContainer
Get container id.
getDescription() - Method in interface net.larsan.norna.base.SoftwareInfo
Get a description of the service.
getEnvironment() - Method in class net.larsan.urd.impl.Registry
Please refer to to the Norna ServiceRegistry documentation.
getEnvironment() - Method in class net.larsan.urd.jndi.ContextBase
Get envioronment
getEnvironment() - Method in interface net.larsan.norna.ServiceRegistry
Get the envoronment of the service.
getErrorHandler() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get the error handler for this resource.
getErrorHandler() - Method in class net.larsan.urd.util.fileset.FileSet
Get the error handler for this file set.
getEventHandler() - Method in class net.larsan.urd.jndi.ContextBase
Get event handler
getExcecuteQueueTimeout() - Method in class net.larsan.urd.util.ThreadPool
Get the time an execution request may wait if there is no threads available before throwing an ExecutionDeniedException.
getExportedPackages() - Method in class net.larsan.urd.archive.ServiceArchive
Get the exported packages from this archive.
getExporter() - Method in interface net.larsan.urd.archive.SharedSpace
Get exporter to use for exporting packages into the shared class space.
getExporter() - Method in class net.larsan.urd.archive.SharedSpaceLoader
Get exporter to use for exporting packages into the shared class space.
getFile() - Method in class net.larsan.urd.archive.ServiceArchive
Get the file object that represents this archive.
getFileSize() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get file size in bytes.
getFormat() - Method in class net.larsan.urd.ant.WebsiteCompiler.PDate
 
getHost() - Method in class net.larsan.urd.util.NURL
Get host address
getId() - Method in class net.larsan.urd.impl.DefaultRecord
 
getId() - Method in interface net.larsan.norna.service.log.Record
Get record id.
getID() - Method in class net.larsan.urd.service.user.CRAM_MD5_Indirection
 
getID() - Method in class net.larsan.norna.service.user.Indirection
Get indirection id.
getID() - Method in class net.larsan.norna.service.user.NullIndirection
Get id
getImportedPackages() - Method in class net.larsan.urd.archive.ServiceArchive
Get the imported packages from this archive.
getIndirection() - Method in interface net.larsan.norna.service.user.Authenticator
Get backing indirection if available.
getIndirectionFactory() - Method in interface net.larsan.norna.service.user.UserHandle
Get the indirection factory for the service.
getInitialContext(Hashtable) - Method in class net.larsan.urd.jndi.ContextFactoryImpl
 
getInstance() - Static method in class net.larsan.urd.impl.UrdEnvironment
Get the environment instance.
getInstance(File) - Static method in class net.larsan.urd.service.user.jaas.UserRegistry
Get a registry instance.
getInstance(File) - Static method in class net.larsan.urd.ant.website.Compiler
Get a reference to the compiler which will read it's template from an file.
getInstance(InputStream) - Static method in class net.larsan.urd.ant.website.Compiler
Get a reference to the compiler which will read it's template from an input stream.
getIterator(Object[]) - Static method in class net.larsan.urd.util.ArrayUtils
Wrap an object array on an iterator.
getLabel() - Method in class net.larsan.urd.ant.WebsiteCompiler.Substitute
 
getLabel() - Method in class net.larsan.urd.ant.website.StringSub
 
getLevel() - Method in class net.larsan.urd.impl.DefaultRecord
 
getLevel() - Method in interface net.larsan.norna.service.log.Record
Get the severity level of the record.
getLibDir() - Method in class net.larsan.urd.CmdOptions
Get the library folder path.
getListeners() - Method in class net.larsan.urd.util.EventQueue
Get a list of listeners.
getListeners() - Method in class net.larsan.urd.impl.RegEventQueue
 
getListeners() - Method in class net.larsan.urd.jndi.EventHandler
 
getListeners() - Method in class net.larsan.urd.jndi.NSEventQueue
Scan the handler set to: 1) remove stale references and 2) garther listeners
getLoader() - Method in interface net.larsan.urd.archive.SharedSpace
Get shared class loader
getLoader() - Method in class net.larsan.urd.archive.SharedSpaceLoader
Get shared class loader, this returns the outer class instance
getMaximumSize() - Method in class net.larsan.urd.util.ThreadPool
Get the maximum size of this thread pool.
getMessage() - Method in class net.larsan.norna.util.NestedException
Get exception message
getMetaData() - Method in class net.larsan.urd.impl.Servicebox
Get service meta data.
getMinimumSize() - Method in class net.larsan.urd.util.ThreadPool
Get the minimum size of this thread pool.
getName() - Method in class net.larsan.urd.util.NURL
Get context name as name
getName() - Method in class net.larsan.urd.service.user.jaas.UrdPrincipal
 
getName() - Method in class net.larsan.urd.ant.WebsiteCompiler.Property
 
getName() - Method in class net.larsan.urd.ant.WebsiteCompiler.PDate
 
getNameInNamespace() - Method in class net.larsan.urd.jndi.ContextBase
Get the local name in the namespace.
getNameParser(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
getNameParser(String) - Method in class net.larsan.urd.jndi.ContextBase
 
getNamespace() - Method in class net.larsan.urd.util.NURL
Get root namespace, e.g.
getNamespace() - Method in class net.larsan.urd.impl.UrdEnvironment
Get namespace
getNamespace() - Method in interface net.larsan.norna.Environment
Get the framework namespace.
getNamespaceID() - Method in class net.larsan.urd.impl.Servicebox
Get service namspace ID
getNamespaceID() - Method in class net.larsan.urd.impl.ClientContext
Please refer to the Context documenation.
getNamespaceID() - Method in class net.larsan.norna.RegistryEvent
Get the NUID of the service that triggered this event.
getNamespaceID() - Method in interface net.larsan.norna.Context
Get a context Namespace ID.
getNestedException() - Method in class net.larsan.norna.util.NestedException
Get nested error, this returns null if there is no nested exception
getNestedMessage() - Method in class net.larsan.norna.util.NestedException
Get nested message, this returns null if there is no nested exception
getNewUrl() - Method in class net.larsan.norna.ContextEvent
Get the new context URL for the object in question.
getObjectInstance(Object, Name, Context, Hashtable) - Method in class net.larsan.urd.jndi.norna.nornaURLContextFactory
 
getOldUrl() - Method in class net.larsan.norna.ContextEvent
Get the old context URL of the object that triggered this event.
getOriginator() - Method in interface net.larsan.norna.base.SoftwareInfo
Get software vendor, creator, or copyright holder.
getParameter(String) - Method in interface net.larsan.norna.InitParameters
Get a initiation parameter.
getParameter(String, String) - Method in interface net.larsan.norna.InitParameters
Get a initiation parameter.
getParameters(URL) - Method in class net.larsan.urd.impl.ParameterDispatcher
Get init parameters for a service at a URL.
getParameters(URL) - Method in interface net.larsan.urd.impl.Parameters
Get init parameters for a service loaded from URL codebase.
getParent() - Method in class net.larsan.urd.jndi.ContextBase
Get the parent context of this context.
getPass() - Method in class net.larsan.urd.CmdOptions
Get user password.
getPath() - Method in interface net.larsan.urd.util.Resource
Get resource path.
getPath() - Method in class net.larsan.urd.util.NURL
Get context name
getPath() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get file path, this path will not start with a separator and should be relative to the file set root and case sensitive.
getPermissions(CodeSource) - Method in class net.larsan.urd.util.ResourceClassLoader
Get the permission for a code source.
getPermissions(CodeSource) - Method in class net.larsan.urd.archive.ArchiveLoader
Get the permissions for this archive.
getPort() - Method in class net.larsan.urd.CmdOptions
Get the root address port.
getPort() - Method in class net.larsan.urd.util.NURL
Get port number
getProperties() - Method in class net.larsan.urd.impl.DefaultRecord
 
getProperties() - Method in class net.larsan.urd.ant.website.PropertySub
Get a reference to the property collection used by this class.
getProperties() - Method in interface net.larsan.norna.service.log.Record
Get a set of record properties.
getProxy() - Method in class net.larsan.urd.impl.ServiceAlias
 
getPublicID() - Method in interface net.larsan.urd.impl.ServiceMetaData
Get service public id.
getPublicID() - Method in interface net.larsan.norna.base.SoftwareInfo
Get module public ID.
getRandom() - Method in interface net.larsan.urd.cmd.ServerContext
 
getRandom() - Method in class net.larsan.urd.cmd.CmdServer
 
getRegistry() - Method in class net.larsan.urd.impl.UrdServer
Get the service registry.
getRelease() - Method in interface net.larsan.norna.base.SoftwareInfo
Get current release tag.
getRescanInterval() - Method in class net.larsan.urd.impl.DirectoryContainer
Get the interval in milliseconds between directory rescans.
getResource() - Method in class net.larsan.urd.util.fileset.FileSetEvent
Get ther resource this event concerns.
getResource(String) - Method in interface net.larsan.urd.util.ResourceLocator
Find resource from a path.
getResource(String) - Method in class net.larsan.urd.util.fileset.RegexpFileSet
Get a resource from the set.
getResource(String) - Method in class net.larsan.urd.util.fileset.JarFileSet
Get a resource from the set.
getResource(String) - Method in class net.larsan.urd.util.fileset.ResourceLocatorImpl
Get resource fromt he collection.
getResource(String) - Method in class net.larsan.urd.util.fileset.FileSet
Get a resource from the set.
getResource(String) - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Get a resource from the set.
getResourcePaths() - Method in class net.larsan.urd.util.fileset.RegexpFileSet
Get all available resources ids.
getResourcePaths() - Method in class net.larsan.urd.util.fileset.JarFileSet
Get all available resources ids.
getResourcePaths() - Method in class net.larsan.urd.util.fileset.FileSet
Get all available resources ids.
getResourcePaths() - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Get all available resources ids.
getRoot() - Method in class net.larsan.urd.CmdOptions
Get the framework root.
getRootAddress() - Method in class net.larsan.urd.impl.UrdEnvironment
Get the Norna root address.
getRootAddress() - Method in interface net.larsan.norna.Environment
Get the root address on which the framework is installed.
getRootPort() - Method in class net.larsan.urd.impl.UrdEnvironment
Get the root port number
getRootPort() - Method in interface net.larsan.norna.Environment
Get the root port number fro the local framework.
getRows() - Method in class net.larsan.urd.cmd.CmdTable
Get table rows
getRunFlag() - Method in class net.larsan.urd.impl.UrdServer
Get internal thread flag
getService() - Method in class net.larsan.urd.impl.Servicebox
Get the service instance.
getServiceClass() - Method in class net.larsan.urd.archive.ServiceArchive
Get the main service class name.
getServiceHandle() - Method in class net.larsan.urd.service.user.Service
 
getServiceHandle() - Method in class net.larsan.urd.service.log.Service
 
getServiceHandle() - Method in interface net.larsan.norna.base.Service
Get a reference to the ServiceHandle interface for this service.
getServiceId() - Method in class net.larsan.norna.NoSuchServiceException
Get the service id that could not be found.
getServiceInfo() - Method in class net.larsan.urd.service.user.Service
 
getServiceInfo() - Method in class net.larsan.urd.service.log.Service
 
getServiceInfo() - Method in interface net.larsan.urd.impl.ListInfo
 
getServiceInfo() - Method in interface net.larsan.norna.base.Service
Get service information.
getServiceURL() - Method in interface net.larsan.urd.impl.ListInfo
 
getSeverity() - Method in class net.larsan.norna.service.log.Level
Get severity level.
getSoftwareInfo(String) - Method in class net.larsan.urd.impl.Registry
Get a service info url.
getSoftwareInfo(String) - Method in interface net.larsan.norna.ServiceRegistry
Get service software info.
getSoftwareName() - Method in interface net.larsan.norna.base.SoftwareInfo
Get the software name.
getSource() - Method in class net.larsan.urd.util.fileset.FileSetEvent
Get the file set this event originated from.
getSourceFile() - Method in class net.larsan.urd.impl.DirectoryContainer
Get file source.
getSourceName() - Method in class net.larsan.urd.impl.Servicebox
Get the service source name.
getSourceURL() - Method in class net.larsan.urd.impl.DirectoryContainer
Get file source.
getStatus() - Method in interface net.larsan.urd.impl.ListInfo
 
getStatus() - Method in class net.larsan.urd.impl.Servicebox
Get the reported status of the boxed service.
getStatus() - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
getStatus() - Method in interface net.larsan.norna.base.ServiceHandle
Get the status of the service.
getStream() - Method in interface net.larsan.urd.util.Resource
Get a resource as stream.
getStream() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get a byte stream from the file.
getStream() - Method in class net.larsan.urd.util.fileset.JarFileSet.JarResource
Get a byte stream from the file.
getStream() - Method in class net.larsan.urd.util.fileset.FileResource
Get a byte stream from the file.
getSubject() - Method in interface net.larsan.norna.service.user.LoginSession
Get session subject.
getSubject() - Method in class net.larsan.norna.service.user.LoginEvent
Get the subject for this event.
getSystemDir() - Method in class net.larsan.urd.CmdOptions
Get the system folder path.
getSystemPreferences() - Method in interface net.larsan.norna.service.pref.PreferenceHandle
Get the preferences for the calling service.
getText() - Method in class net.larsan.urd.impl.DefaultRecord
 
getText() - Method in interface net.larsan.norna.service.log.Record
Get the record overview message.
getThreadTTL() - Method in class net.larsan.urd.util.ThreadPool
Get the time in milliseconds a thread will live if not used and the pool size is above it's minimum size.
getThrowable() - Method in class net.larsan.urd.impl.DefaultRecord
 
getThrowable() - Method in interface net.larsan.norna.service.log.Record
Get the throwable that triggered this record.
getType() - Method in class net.larsan.urd.util.fileset.FileSetEvent
Get the event type.
getType() - Method in class net.larsan.urd.cmd.CmdEvent
Get event type.
getType() - Method in class net.larsan.urd.impl.DefaultRecord
 
getType() - Method in class net.larsan.norna.ContextEvent
Get the type of this event.
getType() - Method in class net.larsan.norna.RegistryEvent
Get event type.
getType() - Method in class net.larsan.norna.service.log.Type
Get record type.
getType() - Method in interface net.larsan.norna.service.log.Record
Get the type of the record.
getURL() - Method in interface net.larsan.urd.util.Resource
Get a resource URL.
getURL() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get a URL to the resource.
getURL() - Method in class net.larsan.urd.util.fileset.JarFileSet.JarResource
Get a URL to the resource.
getURL() - Method in class net.larsan.urd.util.fileset.FileResource
Get a URL to the resource.
getUseBorders() - Method in class net.larsan.urd.cmd.CmdTable
Check if the table should use borders, false by default
getUser() - Method in class net.larsan.urd.CmdOptions
Get user name.
getUser() - Method in class net.larsan.norna.service.user.NoSuchUserException
Get user name that does not exist.
getUser(String, Indirection) - Method in class net.larsan.urd.service.user.jaas.UserRegistry
Get a user principal.
getUserPreferences(String) - Method in interface net.larsan.norna.service.pref.PreferenceHandle
Get the preferences for a user.
getUserService() - Method in interface net.larsan.urd.cmd.ServerContext
 
getUserService() - Method in class net.larsan.urd.cmd.CmdServer
 
getValue() - Method in class net.larsan.urd.ant.WebsiteCompiler.Property
 
getValue() - Method in class net.larsan.urd.ant.WebsiteCompiler.Substitute
 
getValue() - Method in class net.larsan.urd.ant.website.StringSub
 
getVersion() - Method in interface net.larsan.norna.base.SoftwareInfo
Get current software version.
getVisitedTime() - Method in class net.larsan.urd.util.fileset.ResourceBase
Get visited time in milliseconds.
getWriter() - Method in class net.larsan.urd.cmd.CmdEvent
Get the source writer of this event.
grow(double[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Grow an double array with a number of elements.
grow(int[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Grow an int array with a number of elements.
grow(long[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Grow an long array with a number of elements.
grow(Object[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Grow an object array with a number of elements.

H

handleException(Object, Throwable) - Method in class net.larsan.urd.util.ErrorHandler
Handle exception with a source argument.
handleException(String, Object, Throwable) - Method in class net.larsan.urd.util.ErrorHandler
Handle exception with a source and a message.
handleException(String, Object, Throwable) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
handleException(String, Throwable) - Method in class net.larsan.urd.util.ErrorHandler
Handle exception with a source argument.
handleException(Throwable) - Method in class net.larsan.urd.util.ErrorHandler
Handle exception.
handler - Variable in class net.larsan.urd.jndi.ContextVisitor
 
handler - Variable in class net.larsan.urd.jndi.ContextBase
 
hashCode() - Method in class net.larsan.urd.util.fileset.ResourceBase
Hash code based on the relative file path.
hashCode() - Method in class net.larsan.urd.service.user.jaas.UrdPrincipal
 
hashCode() - Method in class net.larsan.urd.jndi.FilterEventListener
 
hashCode() - Method in class net.larsan.urd.jndi.ContextImpl
 
hashCode() - Method in class net.larsan.norna.PackagePermission
Get hash code based on target name and actions
hashCode() - Method in class net.larsan.norna.ContextPermission
Get hash code based on target name and actions
hashCode() - Method in class net.larsan.norna.ServicePermission
Get hash code based on target name and actions
hashCode() - Method in class net.larsan.norna.service.log.Level
Hash code on severty level
hashCode() - Method in class net.larsan.norna.service.log.Type
Hash code on type
hashCode() - Method in class net.larsan.norna.util.ThreadScopePermission
Get hash code based on target name and actions
hasParameter(String) - Method in interface net.larsan.norna.InitParameters
Check if a parameter exists.
HELP - Static variable in class net.larsan.urd.cmd.CmdEvent
Help command, print a help message to screen.
HexUtils - class net.larsan.urd.util.HexUtils.
Static methods for HEX / byte conversions.
HIGH - Static variable in class net.larsan.norna.service.log.Level
High severity, 1.0
HIGHER - Static variable in class net.larsan.norna.service.log.Level
Second highest severiy, 2.0
HIGHEST - Static variable in class net.larsan.norna.service.log.Level
Highest severity, 3.0
HMAC - class net.larsan.urd.util.HMAC.
A simple HMAC (rfc 2104) fro the Urd package.
HMAC(String, int, byte[]) - Constructor for class net.larsan.urd.util.HMAC
Create a new HMAC.

I

implies(Permission) - Method in class net.larsan.norna.PackagePermission
Check if a permission is 'implied' by this permission.
implies(Permission) - Method in class net.larsan.norna.ContextPermission
Check if a permission is 'implied' by this permission.
implies(Permission) - Method in class net.larsan.norna.ServicePermission
Check if a permission is 'implied' by this permission.
implies(Permission) - Method in class net.larsan.norna.util.ThreadScopePermission
Check if a permission is 'implied' by this permission.
IMPORT_PACKAGE - Static variable in class net.larsan.urd.archive.ServiceArchive
Attribute name for the imported packages of a class.
Indirection - class net.larsan.norna.service.user.Indirection.
An indirection is a base class for indirective password verificators.
Indirection() - Constructor for class net.larsan.norna.service.user.Indirection
 
IndirectionCallback - interface net.larsan.norna.service.user.IndirectionCallback.
A call back for JAAS login modules offering Norna indirective authentication.
IndirectionFactory - interface net.larsan.norna.service.user.IndirectionFactory.
An indirection factory makes indirections for services.
IndirectionUnavailableException - exception net.larsan.norna.service.user.IndirectionUnavailableException.
A simple exception that declares that indirection is unavailable.
IndirectionUnavailableException() - Constructor for class net.larsan.norna.service.user.IndirectionUnavailableException
 
IndirectionUnavailableException(String) - Constructor for class net.larsan.norna.service.user.IndirectionUnavailableException
 
INFO - Static variable in class net.larsan.urd.cmd.CmdEvent
List service info command
INFO - Static variable in class net.larsan.norna.service.log.Type
A message type record.
info(String) - Method in class net.larsan.urd.impl.ContainerBase
Get if no for a particular service.
info(String) - Method in interface net.larsan.urd.impl.Container
 
info(String) - Method in class net.larsan.urd.impl.UrdServer
List service info
init(DefaultErrorHandler) - Method in class net.larsan.urd.impl.ContainerBase
Initiate the container.
init(DefaultErrorHandler) - Method in class net.larsan.urd.impl.DirectoryContainer
Initiate directory.
init(InitParameters) - Method in class net.larsan.urd.service.user.Service
 
init(InitParameters) - Method in class net.larsan.urd.service.log.Service
 
init(InitParameters) - Method in interface net.larsan.norna.base.Initializable
Initialize module.
init(ServerContext) - Method in class net.larsan.urd.cmd.Acceptor
 
init(ServerContext) - Method in class net.larsan.urd.cmd.CmdReader
 
Initializable - interface net.larsan.norna.base.Initializable.
An initializable service signals that it is interested in initialization parameters from the framework.
initialize(Subject, CallbackHandler, Map, Map) - Method in class net.larsan.urd.service.user.jaas.UrdLoginModule
 
INITIALIZED - Static variable in class net.larsan.norna.Status
Initialized status.
InitParameters - interface net.larsan.norna.InitParameters.
A parameter collection interface for Norna modules.
invalidate() - Method in interface net.larsan.norna.service.user.LoginSession
Invalidate this session.
invoke(Object, Method, Object[]) - Method in class net.larsan.urd.util.EventInvoker
Handle fired event, this broadcasts the event to all listeners.
invoke(Object, Method, Object[]) - Method in class net.larsan.urd.impl.ServiceAlias
 
IOUtils - class net.larsan.urd.util.IOUtils.
A collection of static methods for stream and channel utilities.
IOUtils() - Constructor for class net.larsan.urd.util.IOUtils
 
isAutoStart(URL) - Method in class net.larsan.urd.impl.ParameterDispatcher
Check is a service from a codebase is marked as an auto-start service.
isAutoStart(URL) - Method in interface net.larsan.urd.impl.Parameters
Check is a service from a codebase is marked as an auto-start service.
isAvailable() - Method in class net.larsan.urd.impl.ServiceAlias
 
isBound(Context, String) - Static method in class net.larsan.urd.util.ContextUtils
Check if a name is bound in the context.
isInstanceOf(Class) - Method in interface net.larsan.urd.impl.ServiceMetaData
Check if the service is instance of a specific class.
isOpen() - Method in interface net.larsan.urd.cmd.ServerContext
 
isOpen() - Method in class net.larsan.urd.cmd.CmdServer
 
isRecursive() - Method in class net.larsan.urd.util.fileset.FileSet
Check if the file set recurses into subfolders or not.
isVerbose() - Static method in class net.larsan.urd.Constants
Check if the startup is verbose.
isVerbose() - Method in class net.larsan.urd.CmdOptions
Check for versbose option.
iterator() - Method in interface net.larsan.urd.archive.PackageSet
Get an iterator over the set.

J

JarArchive - class net.larsan.urd.archive.JarArchive.
A JAR archive is a trivial resource from which a class loader can load a service.
JarArchive(ServiceArchive) - Constructor for class net.larsan.urd.archive.JarArchive
Create archive
JarFile - class net.larsan.urd.util.fileset.JarFile.
A trivial file set that watches a single jar file.
JarFile(File, Timer) - Constructor for class net.larsan.urd.util.fileset.JarFile
Create file set using a file plus a timer object.
JarFileSet - class net.larsan.urd.util.fileset.JarFileSet.
A jar file set is a watchable file set that works on JAR archives.
JarFileSet.JarResource - class net.larsan.urd.util.fileset.JarFileSet.JarResource.
Inner class for a resource within a jar archive.
JarFileSet.JarResource(File, JarFile, String) - Constructor for class net.larsan.urd.util.fileset.JarFileSet.JarResource
Contruct the resource with a jar file, and a path (within the archive).
JarFileSet.JarResource(File, JarFile, String, long, ErrorHandler) - Constructor for class net.larsan.urd.util.fileset.JarFileSet.JarResource
Contruct the resource with a jar file, a path (within the archive) and a time when it was visited.
JarFileSet(File, Timer) - Constructor for class net.larsan.urd.util.fileset.JarFileSet
Contruct the file set with a root folder and a timer to use for the watch.
JNDI_ENVIRONMENT - Static variable in class net.larsan.urd.Constants
Default environment for the Urd JNDI contexts.
JNDI_NAME_PARSER_PROPS - Static variable in class net.larsan.urd.Constants
Default properties for the Urd JNDI Name parser.
JVM_NAME - Static variable in class net.larsan.urd.Constants
Current JVM name
JVM_VENDOR - Static variable in class net.larsan.urd.Constants
Current JVM verndor
JVM_VERSION - Static variable in class net.larsan.urd.Constants
Current JVM version

K

KILL - Static variable in class net.larsan.urd.cmd.CmdEvent
Kill command, immediate shutdown.
kill() - Method in class net.larsan.urd.impl.UrdServer
Kill the server
kill(DefaultErrorHandler) - Method in class net.larsan.urd.impl.Servicebox
Stop and unload/destroy service.

L

label - Variable in class net.larsan.urd.ant.website.DocBody
 
Level - class net.larsan.norna.service.log.Level.
A log record level.
Level(double) - Constructor for class net.larsan.norna.service.log.Level
Create level.
list - Variable in class net.larsan.urd.impl.RegEventQueue
 
LIST - Static variable in class net.larsan.urd.cmd.CmdEvent
List service command
list() - Method in class net.larsan.urd.impl.Registry
Get a service listing.
list() - Method in class net.larsan.urd.impl.ContainerBase
List all service within this container.
list() - Method in interface net.larsan.urd.impl.Container
 
list() - Method in class net.larsan.urd.impl.UrdServer
List all services
list() - Method in interface net.larsan.norna.ServiceRegistry
List all available services.
list(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
list(String) - Method in class net.larsan.urd.jndi.ContextBase
 
listBindings(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
listBindings(String) - Method in class net.larsan.urd.jndi.ContextBase
 
ListInfo - interface net.larsan.urd.impl.ListInfo.
The list info is used be the containers to report service listings.
load(Context) - Method in interface net.larsan.norna.base.Loadable
Load service with a context.
Loadable - interface net.larsan.norna.base.Loadable.
A service in the Norna framework is loaded using its Context.
loadClass(String) - Method in class net.larsan.urd.util.ResourceClassLoader
Load a class.
loadClass(String) - Method in class net.larsan.urd.archive.ArchiveLoader
Load class from the frameworks.
loadClass(String) - Method in class net.larsan.urd.archive.SharedSpaceLoader
Load a class.
LOADED - Static variable in class net.larsan.norna.Status
Loaded status.
loadParameters() - Method in class net.larsan.urd.impl.ParameterDispatcher
Read the parameters file and load it into an XML document.
loadParameters() - Method in class net.larsan.urd.impl.FileParameters
Read the parameters file and load it into an XML document.
localName - Variable in class net.larsan.urd.jndi.ContextBase
 
locator - Variable in class net.larsan.urd.util.ResourceClassLoader
Resource locator used by this class loader.
log(Record) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
log(Record) - Method in interface net.larsan.norna.service.log.LogHandle
Log a record.
logError(String, String, Throwable) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
LogException - exception net.larsan.norna.service.log.LogException.
A log exception is a nested exception used by the log package to signal an error some where in the log chain.
LogException(String) - Constructor for class net.larsan.norna.service.log.LogException
Create new log exception.
LogException(String, Throwable) - Constructor for class net.larsan.norna.service.log.LogException
Create new log exception.
LogHandle - interface net.larsan.norna.service.log.LogHandle.
The log handle is what the Norna framework publishes as log service to it's members.
login() - Method in class net.larsan.urd.service.user.jaas.UrdLoginModule
 
LoginEvent - class net.larsan.norna.service.user.LoginEvent.
This event details what subject has been authenticated by the user service.
LoginEvent(Subject) - Constructor for class net.larsan.norna.service.user.LoginEvent
Create a login event without a code source.
LoginEvent(Subject, CodeSource) - Constructor for class net.larsan.norna.service.user.LoginEvent
Create a login event with a subject and a code source.
LoginListener - interface net.larsan.norna.service.user.LoginListener.
The login listener will be called when a Subject is succefully authenticated.
LoginSession - interface net.larsan.norna.service.user.LoginSession.
The login session represents a subject and its session within the Norna framework.
logout() - Method in class net.larsan.urd.service.user.jaas.UrdLoginModule
 
LogPermission - class net.larsan.norna.service.log.LogPermission.
The log permission is a simple permission used to grant access to the add- and remove filter methods on the log handle and to use the log at all.
LogPermission(String) - Constructor for class net.larsan.norna.service.log.LogPermission
Create permission.
lookup(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
lookup(String) - Method in class net.larsan.urd.impl.ClientContext
Please refer to the Namespace documenation.
lookup(String) - Method in class net.larsan.urd.jndi.ContextBase
 
lookup(String) - Method in interface net.larsan.norna.Namespace
Get an object from the namespace.
lookupLink(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
lookupLink(String) - Method in class net.larsan.urd.jndi.ContextBase
 
LOW - Static variable in class net.larsan.norna.service.log.Level
Third lowest severity, -1.0
LOWER - Static variable in class net.larsan.norna.service.log.Level
Second lowest severity, -2.0
LOWEST - Static variable in class net.larsan.norna.service.log.Level
Lowest severity level, -3.0.

M

main(String[]) - Static method in class net.larsan.urd.Control
 
main(String[]) - Static method in class net.larsan.urd.Server
Run server, use "-h" option to get help.
matches(char[]) - Method in class net.larsan.urd.service.user.CRAM_MD5_Indirection
 
matches(char[]) - Method in class net.larsan.norna.service.user.Indirection
Check if a given credential input matches a password according to the current indirection.
matches(char[]) - Method in class net.larsan.norna.service.user.NullIndirection
Trivial implementation.
matches(String) - Method in class net.larsan.urd.util.fileset.FileSet
Check if a given file name matches the provided regular expression pattern.

N

name - Variable in class net.larsan.urd.impl.ContainerBase
Local namespace name.
nameParser - Static variable in class net.larsan.urd.jndi.ContextBase
 
Namespace - interface net.larsan.norna.Namespace.
A namespace is a logical space and adressing system within the Norna frameowrk.
NAMESPACE_ID - Static variable in interface net.larsan.norna.ServiceRegistry
The fixed registry namespace ID, "/norna/registry"
NAMESPACE_ID - Static variable in interface net.larsan.norna.service.log.LogHandle
The fixed namespace ID, "/norna/log"
NAMESPACE_ID - Static variable in interface net.larsan.norna.service.user.UserHandle
The fixed namespace ID, "/norna/users"
namingExceptionThrown(NamingExceptionEvent) - Method in class net.larsan.urd.jndi.FilterEventListener
 
namingExceptionThrown(NamingExceptionEvent) - Method in class net.larsan.urd.jndi.EventHandler
 
NestedException - exception net.larsan.norna.util.NestedException.
A nested exception base class.
NestedException() - Constructor for class net.larsan.norna.util.NestedException
Create exception
NestedException(String) - Constructor for class net.larsan.norna.util.NestedException
Create exception
NestedException(String, Throwable) - Constructor for class net.larsan.norna.util.NestedException
Create exception
NestedException(Throwable) - Constructor for class net.larsan.norna.util.NestedException
Create exception
net.larsan.norna - package net.larsan.norna
Root interfaces and classes for the framework.
net.larsan.norna.base - package net.larsan.norna.base
Service class package.
net.larsan.norna.service.log - package net.larsan.norna.service.log
Norna log package.
net.larsan.norna.service.pref - package net.larsan.norna.service.pref
The framework preference service.
net.larsan.norna.service.user - package net.larsan.norna.service.user
User service.
net.larsan.norna.util - package net.larsan.norna.util
Norna utilities.
net.larsan.urd - package net.larsan.urd
Urd bootstrap classes.
net.larsan.urd.ant - package net.larsan.urd.ant
Ant classes for building Norna / Urd.
net.larsan.urd.ant.website - package net.larsan.urd.ant.website
This package contains helper classes for the Norna website compiler.
net.larsan.urd.archive - package net.larsan.urd.archive
Classes for loading / verifying a Norna service archive.
net.larsan.urd.cmd - package net.larsan.urd.cmd
The Urd command line server.
net.larsan.urd.conf - package net.larsan.urd.conf
Helper classes for the Urd configuration.
net.larsan.urd.impl - package net.larsan.urd.impl
The main Urd implementation package.
net.larsan.urd.jndi - package net.larsan.urd.jndi
The Urd JNDI context classes.
net.larsan.urd.jndi.norna - package net.larsan.urd.jndi.norna
Norna JNDI URL factory package.
net.larsan.urd.service.log - package net.larsan.urd.service.log
The Urd log service.
net.larsan.urd.service.user - package net.larsan.urd.service.user
 
net.larsan.urd.service.user.jaas - package net.larsan.urd.service.user.jaas
 
net.larsan.urd.service.user.test - package net.larsan.urd.service.user.test
 
net.larsan.urd.util - package net.larsan.urd.util
Urd utility package.
net.larsan.urd.util.fileset - package net.larsan.urd.util.fileset
File set package used mainly by the Urd class loader and the Norna archive classes.
NEUTRAL - Static variable in class net.larsan.norna.service.log.Level
Neutral severity, 0.0
newStatus(Status) - Method in interface net.larsan.norna.StatusCallback
Signal a status change in the service.
next(Record) - Method in interface net.larsan.norna.service.log.FilterChain
Leave execution to the next filter in the chain.
nornaURLContextFactory - class net.larsan.urd.jndi.norna.nornaURLContextFactory.
This is the URL context factory for the Urd framework.
nornaURLContextFactory() - Constructor for class net.larsan.urd.jndi.norna.nornaURLContextFactory
 
NoSuchAttributeException - exception net.larsan.urd.impl.NoSuchAttributeException.
An exception for missing attributes in norna archives.
NoSuchAttributeException(String) - Constructor for class net.larsan.urd.impl.NoSuchAttributeException
Create exception
NoSuchServiceException - exception net.larsan.norna.NoSuchServiceException.
A service could not be found.
NoSuchServiceException(String, String) - Constructor for class net.larsan.norna.NoSuchServiceException
Create exception with a message and a the id that could not be found.
NoSuchUserException - exception net.larsan.norna.service.user.NoSuchUserException.
This exception signal that a user does not exist.
NoSuchUserException(String) - Constructor for class net.larsan.norna.service.user.NoSuchUserException
Create a new exception with a user name.
NotConfiguredException - exception net.larsan.urd.impl.NotConfiguredException.
This simple exception can be used to signal that a praticular service or module have not been configured.
NotConfiguredException() - Constructor for class net.larsan.urd.impl.NotConfiguredException
 
NotConfiguredException(String) - Constructor for class net.larsan.urd.impl.NotConfiguredException
 
NSEventQueue - class net.larsan.urd.jndi.NSEventQueue.
A synchronized abstract event queue class.
NSEventQueue() - Constructor for class net.larsan.urd.jndi.NSEventQueue
 
NSEventQueue(Executor) - Constructor for class net.larsan.urd.jndi.NSEventQueue
 
NullIndirection - class net.larsan.norna.service.user.NullIndirection.
Trivial indirection.
NullIndirection() - Constructor for class net.larsan.norna.service.user.NullIndirection
 
nullReturnLookup(Context, String) - Static method in class net.larsan.urd.util.ContextUtils
Do a lookup for a name and return null if the name is not bound to an object in the context.
NURL - class net.larsan.urd.util.NURL.
A very simple Norna URL parser class.

O

OBJECT_BOUND - Static variable in class net.larsan.norna.ContextEvent
 
OBJECT_UNBOUND - Static variable in class net.larsan.norna.ContextEvent
 
objectAdded(NamingEvent) - Method in class net.larsan.urd.jndi.FilterEventListener
 
objectAdded(NamingEvent) - Method in class net.larsan.urd.jndi.EventHandler
 
objectAdded(String, Object) - Method in class net.larsan.urd.jndi.ContextBase
Fire addition event through the event handler if one exists.
objectRemoved(NamingEvent) - Method in class net.larsan.urd.jndi.FilterEventListener
 
objectRemoved(NamingEvent) - Method in class net.larsan.urd.jndi.EventHandler
 
objectRemoved(String, Object) - Method in class net.larsan.urd.jndi.ContextBase
Fire removal event through the event handler if one exists.
objectRenamed(NamingEvent) - Method in class net.larsan.urd.jndi.FilterEventListener
 
objectRenamed(NamingEvent) - Method in class net.larsan.urd.jndi.EventHandler
 
objectRenamed(String, Object) - Method in class net.larsan.urd.jndi.ContextBase
Fire renaming event through the event handler if one exists.
options - Variable in class net.larsan.norna.service.user.Indirection
 
OS - Static variable in class net.larsan.urd.Constants
Current OS name
OS_VERSION - Static variable in class net.larsan.urd.Constants
Current OS version

P

PackagePermission - class net.larsan.norna.PackagePermission.
The package permission for importing/exporting packages.
PackagePermission(String, String) - Constructor for class net.larsan.norna.PackagePermission
Create a permission using a target and an action string.
PackageSet - interface net.larsan.urd.archive.PackageSet.
The package set is used by the archives to keep track of their exported/imported package names.
PackageTask - class net.larsan.urd.ant.PackageTask.
This simple task takes a text file and splits it up into multiple package documentation files.
PackageTask() - Constructor for class net.larsan.urd.ant.PackageTask
 
ParameterDispatcher - class net.larsan.urd.impl.ParameterDispatcher.
The parameter dispatcher handles service parameters as read from a Urd XML config file.
ParameterDispatcher(ErrorHandler) - Constructor for class net.larsan.urd.impl.ParameterDispatcher
Create a parameter dispatcher.
parameterNames() - Method in interface net.larsan.norna.InitParameters
Get an iterator over the parameter names.
Parameters - interface net.larsan.urd.impl.Parameters.
A very simple interface the servicebox can use to dynamicly load init parameters for it's service and query the configuration in general.
parent - Variable in class net.larsan.urd.jndi.ContextBase
 
parse(File) - Static method in class net.larsan.urd.util.XMLUtils
Parse a document from a file.
parse(InputStream) - Static method in class net.larsan.urd.util.XMLUtils
Parse a document from an input stream.
parse(String) - Static method in class net.larsan.urd.util.NURL
Parse a string into a NURL object.
parse(String) - Static method in class net.larsan.norna.Status
Parse a string status into a status object, returns nulll if the status is not recognized.
parse(String) - Static method in class net.larsan.norna.service.log.Level
Parse a string to a level.
parse(String) - Static method in class net.larsan.norna.service.log.Type
Parse a string to a type.
parse(String[]) - Static method in class net.larsan.urd.CmdOptions
Parse an array of arguments into a options object.
parseString(String) - Static method in class net.larsan.urd.util.HexUtils
Parse a hex string into a byte array.
parseString(String) - Static method in class net.larsan.urd.util.XMLUtils
Parse a document from a String.
pop() - Method in class net.larsan.urd.cmd.Connections
Pop a channel from the stack.
port - Variable in class net.larsan.urd.jndi.ContextBase
 
PreferenceHandle - interface net.larsan.norna.service.pref.PreferenceHandle.
This service handles preferences for the services.
prepare() - Method in class net.larsan.urd.impl.Standalone
Prepare the server before a startup.
print(String) - Method in interface net.larsan.urd.cmd.CmdWriter
Write a string.
print(String) - Method in class net.larsan.urd.cmd.CmdWriterImpl
Write a string.
printHelp() - Method in class net.larsan.urd.CmdOptions
Check for help option.
println() - Method in interface net.larsan.urd.cmd.CmdWriter
Write a canonical line break.
println() - Method in class net.larsan.urd.cmd.CmdWriterImpl
Write empty new line.
println(String) - Method in interface net.larsan.urd.cmd.CmdWriter
Write a string followed by a canonical like break.
println(String) - Method in class net.larsan.urd.cmd.CmdWriterImpl
Write a string followed by a new line.
printStackTrace() - Method in class net.larsan.norna.util.NestedException
Print stack trace to system err.
printStackTrace(PrintStream) - Method in class net.larsan.norna.util.NestedException
Print stack trace
printStackTrace(PrintWriter) - Method in class net.larsan.norna.util.NestedException
Print stack trace
PropertySub - class net.larsan.urd.ant.website.PropertySub.
A property substitution object matches property templates with values and replaces them.
PropertySub() - Constructor for class net.larsan.urd.ant.website.PropertySub
Create new substitution with an empty property set.
PropertySub(Properties) - Constructor for class net.larsan.urd.ant.website.PropertySub
Create substitution using an existing set of properties.
push(SocketChannel) - Method in class net.larsan.urd.cmd.Connections
Puch a new channel ontu the stack.

Q

queue(NamingEvent, int) - Method in class net.larsan.urd.jndi.NSEventQueue
 
queueEvent(Object) - Method in class net.larsan.urd.util.EventQueue
Put an event in the queue.

R

readAnswer() - Method in class net.larsan.urd.Control
 
readDocument() - Method in class net.larsan.urd.ant.website.XMLBody
1) find the attribute 'transformer' on the root element, 2) if found apply transformation of on file, 3) return
readDocument() - Method in class net.larsan.urd.ant.website.DocBody
Read document, xml documents should override this method to perform a transformation before returning
READY - Static variable in class net.larsan.norna.Status
This service is redy for use.
rebind(Name, Object) - Method in class net.larsan.urd.jndi.ContextImpl
 
rebind(String, Object) - Method in class net.larsan.urd.jndi.ContextBase
 
receive(String) - Method in class net.larsan.urd.cmd.Connection
 
receiveCmdEvent(CmdEvent) - Method in interface net.larsan.urd.cmd.CmdEventListener
Receive command line event.
receiveCmdEvent(CmdEvent) - Method in class net.larsan.urd.cmd.ServerProxy
Receive events from the command line
receiveContextEvent(ContextEvent) - Method in interface net.larsan.norna.ContextListener
Receive context event.
receiveFileSetEvent(FileSetEvent) - Method in interface net.larsan.urd.util.fileset.FileSetListener
Receive file set event.
receiveLoginEvent(LoginEvent) - Method in interface net.larsan.norna.service.user.LoginListener
A subject have been authenticated be the user service.
receiveRegistryEvent(RegistryEvent) - Method in class net.larsan.urd.cmd.CmdServer
 
receiveRegistryEvent(RegistryEvent) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
receiveRegistryEvent(RegistryEvent) - Method in interface net.larsan.norna.RegistryListener
Receive registry event.
Record - interface net.larsan.norna.service.log.Record.
A log record for the log service.
reflectAttributes(Object, Properties) - Method in class net.larsan.urd.conf.AttributeReflector
Set attributes as members in an object.
RegEventQueue - class net.larsan.urd.impl.RegEventQueue.
Registry event handler.
RegEventQueue(Executor) - Constructor for class net.larsan.urd.impl.RegEventQueue
 
RegexpFileSet - class net.larsan.urd.util.fileset.RegexpFileSet.
A file set that filters it's scan operation using a regular expression pattern.
RegexpFileSet(File) - Constructor for class net.larsan.urd.util.fileset.RegexpFileSet
Construct a file set using a root but without a regular expression.
RegexpFileSet(File, String) - Constructor for class net.larsan.urd.util.fileset.RegexpFileSet
Construct a file set using a root folder and a regular expression.
register() - Method in class net.larsan.urd.jndi.EventHandler
 
Registry - class net.larsan.urd.impl.Registry.
Urd ServiceRegistry implementation.
Registry(Context) - Constructor for class net.larsan.urd.impl.Registry
Create a registry based on a root context.
RegistryEvent - class net.larsan.norna.RegistryEvent.
Event fired by the ServiceRegistry when a service status changes.
RegistryEvent(int, String) - Constructor for class net.larsan.norna.RegistryEvent
Create an event.
RegistryListener - interface net.larsan.norna.RegistryListener.
An interface for modules whishing to receive RegistryEvents.
release() - Method in class net.larsan.urd.impl.ClientContext
Close this context.
remove(Substitution) - Method in class net.larsan.urd.ant.website.Compiler
Remove substitution filter from compiler
removeCmdListener(CmdEventListener) - Method in class net.larsan.urd.cmd.CmdServer
Remove a command line event listener.
removeContextListener(ContextListener) - Method in interface net.larsan.norna.ContextNotifier
Remove a context listener from this notifier.
removeFileSetListener(FileSetListener) - Method in interface net.larsan.urd.util.fileset.WatchableFileSet
De-register file set listener.
removeFileSetListener(FileSetListener) - Method in class net.larsan.urd.util.fileset.JarFileSet
De-register file set listener
removeFileSetListener(FileSetListener) - Method in class net.larsan.urd.util.fileset.WatchedFileSet
De-register file set listener
removeFileSetListener(FileSetListener) - Method in class net.larsan.urd.util.fileset.TrivialFileSet
De-register file set listener
removeFilter(Filter) - Method in class net.larsan.urd.impl.DefaultErrorHandler
 
removeFilter(Filter) - Method in interface net.larsan.norna.service.log.LogHandle
Remove a log filter to the handle.
removeFromEnvironment(String) - Method in class net.larsan.urd.jndi.ContextBase
Remove from environment
removeHandler(EventHandler) - Method in class net.larsan.urd.jndi.NSEventQueue
 
removeListener(NamespaceChangeListener) - Method in class net.larsan.urd.jndi.EventHandler
 
removeListener(Object) - Method in class net.larsan.urd.util.EventInvoker
Remove a listerer from this broadcaster.
removeNamingListener(NamingListener) - Method in class net.larsan.urd.jndi.ContextBase
 
removeRegistryListener(RegistryListener) - Method in class net.larsan.urd.impl.Registry
Get a service by id.
removeRegistryListener(RegistryListener) - Method in class net.larsan.urd.impl.RegEventQueue
Get a service by id.
removeRegistryListener(RegistryListener) - Method in interface net.larsan.norna.ServiceRegistry
Remove a registry listener.
removeServerListener(UrdServerListener) - Method in class net.larsan.urd.impl.UrdServer
Remive listener from this server
removeServiceImpl(String) - Method in class net.larsan.urd.impl.ContainerBase
Remove a service by URL.
rename(Name, Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
rename(String, String) - Method in class net.larsan.urd.jndi.ContextBase
 
replaceAll(String, String, String, boolean) - Static method in class net.larsan.urd.util.StringUtils
Replace all occurances of a regular expression with a string.
report(IOException) - Method in class net.larsan.urd.util.fileset.ResourceBase
Report an IO exception to the error handle of the enclosing file set.
reportException(Throwable) - Method in interface net.larsan.urd.cmd.ServerContext
 
reportException(Throwable) - Method in class net.larsan.urd.cmd.CmdServer
 
requestRestart() - Method in interface net.larsan.norna.RestartListener
Request restart.
reset() - Method in class net.larsan.urd.ant.website.Compiler
Reset compiler.
resolveName(File, String) - Static method in class net.larsan.urd.util.FileUtils
Resolve a file name against a root folder.
resolvePath(File) - Method in class net.larsan.urd.util.fileset.FileSet
Attempt to resolve a relative file path from the root of the file set.
resolveSource(String) - Method in class net.larsan.urd.impl.ParameterDispatcher
Resove a string into a URL.
resolveSource(String) - Method in class net.larsan.urd.impl.FileParameters
Resove a string into a URL.
Resource - interface net.larsan.urd.util.Resource.
A resource is an object which have a location and can be read using an input stream and might be signed.
RESOURCE_ADDED - Static variable in class net.larsan.urd.util.fileset.FileSetEvent
Identifier for added resource events.
RESOURCE_CHANGED - Static variable in class net.larsan.urd.util.fileset.FileSetEvent
Identifier for changed resource event.
RESOURCE_REMOVED - Static variable in class net.larsan.urd.util.fileset.FileSetEvent
Identifier for removed resource events.
ResourceBase - class net.larsan.urd.util.fileset.ResourceBase.
Abstract base class for resources.
ResourceBase(String) - Constructor for class net.larsan.urd.util.fileset.ResourceBase
Construct file resource with a path with a visited time set to the current system time.
ResourceBase(String, long, ErrorHandler) - Constructor for class net.larsan.urd.util.fileset.ResourceBase
Construct file resource with a path and a visited time.
ResourceClassLoader - class net.larsan.urd.util.ResourceClassLoader.
A class loader based on a resource locator.
ResourceClassLoader(ClassLoader, ResourceLocator) - Constructor for class net.larsan.urd.util.ResourceClassLoader
Create a class loader with a parent loader and a resource locator from which the class loader loads resources and classes.
ResourceClassLoader(ResourceLocator) - Constructor for class net.larsan.urd.util.ResourceClassLoader
Create a class loader with a resource locator from which the class loader loads resources and classes.
ResourceLocator - interface net.larsan.urd.util.ResourceLocator.
A resource locator is an interface for resource abstraction.
ResourceLocatorImpl - class net.larsan.urd.util.fileset.ResourceLocatorImpl.
This trivial class is a collection of file sets that implement the ResourceLocator interface.
ResourceLocatorImpl(FileSet[]) - Constructor for class net.larsan.urd.util.fileset.ResourceLocatorImpl
Create locator
resources - Variable in class net.larsan.urd.util.fileset.RegexpFileSet
Hash map of path strings mapped to resources.
resources - Variable in class net.larsan.urd.util.fileset.TrivialFileSet
Hash set of resources, paths -> resources
Restartable - interface net.larsan.norna.base.Restartable.
This interface should be inplemented by services that wiches to request re-starts from the framework.
RestartListener - interface net.larsan.norna.RestartListener.
This interface will be implemented by the framework to use with services that wishes to request restarts.
root - Variable in class net.larsan.urd.util.fileset.FileSet
File set root folder, this folder will be checked on initiation so that it exists and is accessible.
root - Variable in class net.larsan.urd.service.user.test.TestBase
 
root - Variable in class net.larsan.urd.jndi.ContextBase
 
ROOT_ADDRESS - Static variable in class net.larsan.urd.jndi.ContextBase
 
ROOT_PORT - Static variable in class net.larsan.urd.jndi.ContextBase
 
RootContext - class net.larsan.urd.jndi.RootContext.
This class encapsulates the root context for the Urd framework.
run() - Method in class net.larsan.urd.Control
 
run() - Method in class net.larsan.urd.util.EventQueue
Run event queue.
run() - Method in class net.larsan.urd.cmd.Acceptor
 
run() - Method in class net.larsan.urd.cmd.CmdReader
 
run() - Method in class net.larsan.urd.impl.AutoStartTask
Execute auto-start task
run() - Method in class net.larsan.urd.impl.StopAllTask
Execute stop task
run() - Method in class net.larsan.urd.impl.StartAllTask
Execute stop task
run() - Method in class net.larsan.urd.impl.UrdServer
Run server

S

scan() - Method in class net.larsan.urd.util.fileset.RegexpFileSet
Perform a new scan of available files for the set.
scan() - Method in class net.larsan.urd.util.fileset.JarFileSet
Perform a scan of available files for the set.
scan() - Method in class net.larsan.urd.util.fileset.FileSet
Perform a scan of available files for the set.
scan() - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Perform a new scan of available files for the set.
scanFolder(File, boolean) - Static method in class net.larsan.urd.archive.FolderScanner
Scan a folder.
search(Properties) - Method in class net.larsan.urd.impl.Registry
Search for a service.
search(Properties) - Method in interface net.larsan.norna.ServiceRegistry
Seach for a service.
Server - class net.larsan.urd.Server.
This is the standalone server class for the Urd Norna framework.
Server() - Constructor for class net.larsan.urd.Server
 
ServerContext - interface net.larsan.urd.cmd.ServerContext.
 
ServerProxy - class net.larsan.urd.cmd.ServerProxy.
This is a formatting proxy for the CmdServer.
ServerProxy(UrdServer) - Constructor for class net.larsan.urd.cmd.ServerProxy
 
serverStarted() - Method in class net.larsan.urd.cmd.CmdServer
 
serverStarted() - Method in interface net.larsan.urd.impl.UrdServerListener
Urd server has started
serverStarted() - Method in class net.larsan.urd.impl.Standalone
Urd server has started, this does not interest us.
serverStopped() - Method in class net.larsan.urd.cmd.CmdServer
 
serverStopped() - Method in interface net.larsan.urd.impl.UrdServerListener
Urd server has stopped
serverStopped() - Method in class net.larsan.urd.impl.Standalone
Urd server has stopped, close and destroy
Service - class net.larsan.urd.service.user.Service.
This is the main Urd user service.
Service - class net.larsan.urd.service.log.Service.
Urd log service.
Service - interface net.larsan.norna.base.Service.
All services in the Norna framework must implement this interface.
SERVICE_ADDED - Static variable in class net.larsan.norna.RegistryEvent
Event thrown when a service have been added to the registry.
SERVICE_CLASS - Static variable in class net.larsan.urd.archive.ServiceArchive
Attribute name for the main norna service class.
SERVICE_READY - Static variable in class net.larsan.norna.RegistryEvent
Service ready event
SERVICE_REMOVED - Static variable in class net.larsan.norna.RegistryEvent
Service removed.
SERVICE_STARTING - Static variable in class net.larsan.norna.RegistryEvent
Service start event.
SERVICE_STOPPED - Static variable in class net.larsan.norna.RegistryEvent
Services stopped event.
Service() - Constructor for class net.larsan.urd.service.user.Service
 
Service() - Constructor for class net.larsan.urd.service.log.Service
 
ServiceAlias - class net.larsan.urd.impl.ServiceAlias.
A service alias acts on behalf of a real serivce.
ServiceArchive - class net.larsan.urd.archive.ServiceArchive.
A service archive contains a JAR file with a modified manifest for specialized Norna Service Archive properties.
ServiceArchive(File) - Constructor for class net.larsan.urd.archive.ServiceArchive
Create archive from a file.
Servicebox - class net.larsan.urd.impl.Servicebox.
The service box 'boxes' an given service from it's archive or folder location.
Servicebox(Context, String, ServiceArchive, Parameters) - Constructor for class net.larsan.urd.impl.Servicebox
Create service box with a service archive to read from.
ServiceHandle - interface net.larsan.norna.base.ServiceHandle.
A service handle is what the service publishes towards the servers and it's fellow services.
ServiceMetaData - interface net.larsan.urd.impl.ServiceMetaData.
Meta data about a Norna service used by the framework.
ServicePermission - class net.larsan.norna.ServicePermission.
The service permission is used to fine grain control over the Norna services.
ServicePermission(String, String) - Constructor for class net.larsan.norna.ServicePermission
Create a permission using a target and an action string.
ServiceRegistry - interface net.larsan.norna.ServiceRegistry.
The service registry can be used by services to search for other services and in also to start or stop them.
setAutoStart(boolean) - Method in class net.larsan.urd.impl.ContainerBase
Set if the services within this container should be auto-started.
setBindAddress(String) - Method in class net.larsan.urd.cmd.CmdServer
 
setBindPort(String) - Method in class net.larsan.urd.cmd.CmdServer
 
setColumns(String[]) - Method in class net.larsan.urd.cmd.CmdTable
Set column names
setContext(Context) - Method in class net.larsan.urd.cmd.CmdServer
 
setContext(Context) - Method in interface net.larsan.urd.impl.Controller
Set the server context.
setCredentials(char[]) - Method in class net.larsan.norna.service.user.Indirection
Set credentials this indirection should match agains.
setDestDir(File) - Method in class net.larsan.urd.ant.PackageTask
Set destination directory to parse to.
setDocsFile(File) - Method in class net.larsan.urd.ant.PackageTask
Set documentation file to parse.
setErrorHandler(ErrorHandler) - Method in class net.larsan.urd.util.EventInvoker
Set the error handler.
setErrorHandler(ErrorHandler) - Method in class net.larsan.urd.util.fileset.ResourceBase
Set the error handler for this resource.
setErrorHandler(ErrorHandler) - Method in class net.larsan.urd.util.fileset.FileSet
Set the error handler for this file set.
setExcecuteQueueTimeout(long) - Method in class net.larsan.urd.util.ThreadPool
Get the time an execution request may wait if there is no threads available before throwing an ExecutionDeniedException.
setFilter(String) - Method in class net.larsan.urd.jndi.FilterEventListener
Set regexp filter.
setFormat(String) - Method in class net.larsan.urd.ant.WebsiteCompiler.PDate
 
setHandler(EventHandler) - Method in class net.larsan.urd.jndi.ContextBase
 
setId(String) - Method in class net.larsan.urd.impl.DefaultRecord
 
setId(String) - Method in interface net.larsan.norna.service.log.Record
Set the record.
setIndirection(Indirection) - Method in interface net.larsan.norna.service.user.IndirectionCallback
Set indirection to use.
setInputDir(File) - Method in class net.larsan.urd.ant.WebsiteCompiler
 
setIsRecursive(boolean) - Method in class net.larsan.urd.util.fileset.FileSet
Determine if this file set should recurse into subfolders or not.
setLabel(String) - Method in class net.larsan.urd.ant.WebsiteCompiler.Substitute
 
setLabel(String) - Method in class net.larsan.urd.ant.website.StringSub
 
setLabel(String) - Method in class net.larsan.urd.ant.website.DocBody
Set sunstitution label
setLevel(Level) - Method in class net.larsan.urd.impl.DefaultRecord
 
setLevel(Level) - Method in interface net.larsan.norna.service.log.Record
Set the severity level.
setMaximumSize(int) - Method in class net.larsan.urd.util.ThreadPool
Set the maximum size of this thread pool.
setName(String) - Method in class net.larsan.urd.ant.WebsiteCompiler.Property
 
setName(String) - Method in class net.larsan.urd.ant.WebsiteCompiler.PDate
 
setOptions(Map) - Method in class net.larsan.urd.service.user.CRAM_MD5_Indirection
 
setOptions(Map) - Method in class net.larsan.norna.service.user.Indirection
Set options for this indirection to use.
setOutputDir(File) - Method in class net.larsan.urd.ant.WebsiteCompiler
 
setOverviewDir(File) - Method in class net.larsan.urd.ant.PackageTask
Set directory to parse general overview to.
setParameters(Parameters) - Method in class net.larsan.urd.impl.DirectoryContainer
Set parameter object for this container.
setRegexpPattern(String) - Method in class net.larsan.urd.util.fileset.FileSet
Set the regular expression pattern to filter this fileset by.
setRescanInterval(long) - Method in class net.larsan.urd.impl.DirectoryContainer
Set the interval in milliseconds between directory rescans.
setRestartListener(RestartListener) - Method in interface net.larsan.norna.base.Restartable
Set re-start listener interface.
setRows(String[][]) - Method in class net.larsan.urd.cmd.CmdTable
Set table rows
setRunFlag(boolean) - Method in class net.larsan.urd.impl.UrdServer
Set internal thread flag
setServiceImpl(String, Servicebox) - Method in class net.larsan.urd.impl.ContainerBase
Add a service to the container collection.
setSourceURL(String) - Method in class net.larsan.urd.impl.DirectoryContainer
Set source URL for this container.
setStatusCallback(StatusCallback) - Method in class net.larsan.urd.service.user.Service
 
setStatusCallback(StatusCallback) - Method in class net.larsan.urd.service.log.Service
 
setStatusCallback(StatusCallback) - Method in interface net.larsan.norna.base.Service
Set the status callback this service should use to signal status changes to the framework.
setTemplate(File) - Method in class net.larsan.urd.ant.WebsiteCompiler
 
setText(String) - Method in class net.larsan.urd.impl.DefaultRecord
 
setText(String) - Method in interface net.larsan.norna.service.log.Record
Set the record overview.
setThreadTTL(long) - Method in class net.larsan.urd.util.ThreadPool
Set the time in milliseconds a thread will live if not used and the pool size is above it's minimum size.
setThrowable(Throwable) - Method in class net.larsan.urd.impl.DefaultRecord
 
setThrowable(Throwable) - Method in interface net.larsan.norna.service.log.Record
Set throwable that caused the record.
setType(Type) - Method in class net.larsan.urd.impl.DefaultRecord
 
setType(Type) - Method in interface net.larsan.norna.service.log.Record
Set the record type.
setUp() - Method in class net.larsan.urd.service.user.test.TestBase
 
setUp() - Method in class net.larsan.urd.service.user.test.CRAM_MD5_IndirectionTest
 
setUseBorders(boolean) - Method in class net.larsan.urd.cmd.CmdTable
Set if the table should use borders
setValue(String) - Method in class net.larsan.urd.ant.WebsiteCompiler.Property
 
setValue(String) - Method in class net.larsan.urd.ant.WebsiteCompiler.Substitute
 
setValue(String) - Method in class net.larsan.urd.ant.website.StringSub
 
severity - Variable in class net.larsan.norna.service.log.Level
Level severity.
SharedSpace - interface net.larsan.urd.archive.SharedSpace.
This interface is the contract for the norna shared class space.
SharedSpaceLoader - class net.larsan.urd.archive.SharedSpaceLoader.
The shared space loader is a class loader for exported packages in the Norna framework.
SharedSpaceLoader(ClassLoader) - Constructor for class net.larsan.urd.archive.SharedSpaceLoader
Create class loader with a parent.
shrink(double[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Shrink an array by a number of elements.
shrink(int[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Shrink an array by a number of elements.
shrink(long[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Shrink an array by a number of elements.
shrink(Object[], int) - Static method in class net.larsan.urd.util.ArrayUtils
Shrink an array by a number of elements.
SHUTDOWN - Static variable in class net.larsan.urd.cmd.CmdEvent
Shutdown frameowrk command
shutdown(long) - Method in class net.larsan.urd.impl.UrdServer
Shutdown server.
ShutdownListener - interface net.larsan.norna.base.ShutdownListener.
This interface should be implemented by any service that wishes to be informed of shutdown events in advance.
shutdownWarning(long) - Method in class net.larsan.urd.impl.Servicebox
 
shutdownWarning(long) - Method in interface net.larsan.norna.base.ShutdownListener
Thsi method might be called by the framework before module shutdown.
size - Variable in class net.larsan.urd.util.fileset.ResourceBase
Optional file size in bytes, defaults to -1 if not set.
size() - Method in class net.larsan.urd.util.EventInvoker
Get the current number of listeners registered with this invoker
Sizes - class net.larsan.urd.util.Sizes.
A simple class with static parse methods for norna configuration sizes.
SoftwareInfo - interface net.larsan.norna.base.SoftwareInfo.
This interface can be implemented by modules in the Norna framework.
Standalone - class net.larsan.urd.impl.Standalone.
The standalone is a Urd server which prepares the environment before starting.
Standalone() - Constructor for class net.larsan.urd.impl.Standalone
 
Standalone(CmdOptions) - Constructor for class net.larsan.urd.impl.Standalone
 
Standalone(CmdOptions, ClassLoader) - Constructor for class net.larsan.urd.impl.Standalone
 
START - Static variable in class net.larsan.urd.cmd.CmdEvent
Start service command
start() - Method in class net.larsan.urd.cmd.CmdServer
Start command line server
start() - Method in class net.larsan.urd.service.log.Service
 
start() - Method in class net.larsan.urd.impl.RegEventQueue
 
start() - Method in class net.larsan.urd.impl.Standalone
Start the execution of this server.
start() - Method in class net.larsan.urd.jndi.NSEventQueue
 
start() - Method in interface net.larsan.norna.base.Startable
Start execution of this service.
start(Class[]) - Method in class net.larsan.urd.jndi.ContextVisitor
Scan the context for object.
start(DefaultErrorHandler) - Method in class net.larsan.urd.impl.Servicebox
Start service.
start(long) - Method in class net.larsan.urd.util.fileset.JarFileSet
Start watching this file set.
start(long) - Method in class net.larsan.urd.util.fileset.WatchedFileSet
Start watching this file set.
start(long) - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Start watching this file set.
start(String) - Method in class net.larsan.urd.util.EventQueue
Start event queue with a thread name.
start(String) - Method in class net.larsan.urd.impl.Registry
Start a service.
start(String) - Method in class net.larsan.urd.impl.ContainerBase
Start a single service.
start(String) - Method in interface net.larsan.urd.impl.Container
 
start(String) - Method in class net.larsan.urd.jndi.ContextVisitor
Scan the context for object.
start(String) - Method in interface net.larsan.norna.ServiceRegistry
Start a service.
start(String, Class[]) - Method in class net.larsan.urd.jndi.ContextVisitor
Scan the context for object.
Startable - interface net.larsan.norna.base.Startable.
A startable service is a service that can be started and stopped.
StartAllTask - class net.larsan.urd.impl.StartAllTask.
Simple runnable task for starting all services.
StartAllTask(Context, DefaultErrorHandler) - Constructor for class net.larsan.urd.impl.StartAllTask
 
startedAt() - Method in interface net.larsan.urd.impl.ListInfo
 
STARTING - Static variable in class net.larsan.norna.Status
Starting status.
startService(String) - Method in class net.larsan.urd.impl.UrdServer
Start service command
Status - class net.larsan.norna.Status.
Status objects used by the Norna framework.
StatusCallback - interface net.larsan.norna.StatusCallback.
This interface is posted by the ServiceRegistry towards the services.
STOP - Static variable in class net.larsan.urd.cmd.CmdEvent
Stop service command
stop() - Method in class net.larsan.urd.util.EventQueue
Stop this event queue.
stop() - Method in class net.larsan.urd.util.fileset.JarFileSet
Stop watcing this file set.
stop() - Method in class net.larsan.urd.util.fileset.WatchedFileSet
Stop watcing this file set.
stop() - Method in class net.larsan.urd.util.fileset.TrivialFileSet
Stop watcing this file set.
stop() - Method in class net.larsan.urd.cmd.CmdServer
Stop command line server
stop() - Method in class net.larsan.urd.service.log.Service
 
stop() - Method in interface net.larsan.norna.base.Startable
End execution.
stop(DefaultErrorHandler) - Method in class net.larsan.urd.impl.Servicebox
Stop service.
stop(String) - Method in class net.larsan.urd.impl.Registry
Stop a service.
stop(String) - Method in class net.larsan.urd.impl.ContainerBase
Stop a single service.
stop(String) - Method in interface net.larsan.urd.impl.Container
 
stop(String) - Method in interface net.larsan.norna.ServiceRegistry
Stop a service.
StopAllTask - class net.larsan.urd.impl.StopAllTask.
A simple runnable task for stopping all available services.
StopAllTask(Context, DefaultErrorHandler) - Constructor for class net.larsan.urd.impl.StopAllTask
 
STOPPED - Static variable in class net.larsan.norna.Status
Stopped status.
STOPPING - Static variable in class net.larsan.norna.Status
Stopping status.
stopService(String) - Method in class net.larsan.urd.impl.UrdServer
Stop service command
StringSub - class net.larsan.urd.ant.website.StringSub.
A string substitution searches for all occations of a label and replaces it with a string value.
StringSub(String, String) - Constructor for class net.larsan.urd.ant.website.StringSub
Create substitution.
StringUtils - class net.larsan.urd.util.StringUtils.
Some static string methods
StringUtils() - Constructor for class net.larsan.urd.util.StringUtils
 
STRUCTURAL_CHANGE - Static variable in class net.larsan.urd.util.fileset.FileSetEvent
Identifier for structural resource events.
subcontextCreation(Context, String) - Static method in class net.larsan.urd.util.ContextUtils
Create subcontext plus all intermediate contexts.
substitute(String) - Method in interface net.larsan.urd.ant.website.Substitution
Perform a string substitution.
substitute(String) - Method in class net.larsan.urd.ant.website.StringSub
Perform a substitution.
substitute(String) - Method in class net.larsan.urd.ant.website.PropertySub
Do substitution.
substitute(String) - Method in class net.larsan.urd.ant.website.DocBody
Subsitute into source according to the current label
Substitution - interface net.larsan.urd.ant.website.Substitution.
A substitution interface hides a component that can perform string subsitutions.

T

targetMustExist() - Method in class net.larsan.urd.jndi.ContextBase
We do not require a target to exist before signing up.
TEST - Static variable in class net.larsan.norna.service.log.Type
Test record type.
TestBase - class net.larsan.urd.service.user.test.TestBase.
 
TestBase(String) - Constructor for class net.larsan.urd.service.user.test.TestBase
 
testGetInstance() - Method in class net.larsan.urd.service.user.test.UserRegistryTest
 
testHaveNotUser() - Method in class net.larsan.urd.service.user.test.UserRegistryTest
 
testHaveUser() - Method in class net.larsan.urd.service.user.test.UserRegistryTest
 
testHMAC_MD5_TestCaseOne() - Method in class net.larsan.urd.service.user.test.CRAM_MD5_IndirectionTest
 
testWrongPass() - Method in class net.larsan.urd.service.user.test.UserRegistryTest
 
ThreadPool - class net.larsan.urd.util.ThreadPool.
The thread pool is an abstract pool of thread.
ThreadPool(String) - Constructor for class net.larsan.urd.util.ThreadPool
Contruct thread pool.
ThreadPool(String, int) - Constructor for class net.larsan.urd.util.ThreadPool
Contruct thread pool given a minimum number of threads.
ThreadPool(String, int, int) - Constructor for class net.larsan.urd.util.ThreadPool
Contruct thread pool given a minimum and a maximum number of threads.
THREADS - Static variable in class net.larsan.urd.cmd.CmdEvent
List all threads
ThreadScope - class net.larsan.norna.util.ThreadScope.
The thread scope is used by Norna framework implementations to distinguish between the owners of excuting threads.
ThreadScopePermission - class net.larsan.norna.util.ThreadScopePermission.
This permission is used to limit the access to the ThreadScope.
ThreadScopePermission(String) - Constructor for class net.larsan.norna.util.ThreadScopePermission
Create permission without a target.
ThreadScopePermission(String, String) - Constructor for class net.larsan.norna.util.ThreadScopePermission
Create permission.
Times - class net.larsan.urd.util.Times.
A time format class for the Urd configuration.
toByteArray(FileChannel) - Static method in class net.larsan.urd.util.IOUtils
Read a complete channel to a byte array.
toByteArray(InputStream) - Static method in class net.larsan.urd.util.IOUtils
Read a complete stream to a byte array.
toByteArray(InputStream, int) - Static method in class net.larsan.urd.util.IOUtils
Read a complete input stream to a byte array with a non-default buffer size.
toBytes(String) - Static method in class net.larsan.urd.util.Sizes
Get raw byte size from a size string.
toFile(File, InputStream) - Static method in class net.larsan.urd.util.IOUtils
Write the content of an input stream to a file.
toFile(File, String) - Static method in class net.larsan.urd.util.IOUtils
Write the content of a string to a file.
tokenize(String, String) - Static method in class net.larsan.urd.util.StringUtils
Tokenize a string using a string as a delimiter.
toMillis(String) - Static method in class net.larsan.urd.util.Times
Get raw milliseconds from a time string.
toString() - Method in class net.larsan.urd.util.NURL
 
toString() - Method in class net.larsan.urd.jndi.ContextImpl
 
toString() - Method in class net.larsan.norna.Status
To string, returns the status name in lowercase
toString() - Method in class net.larsan.norna.service.log.Level
Get severity level as string.
toString() - Method in class net.larsan.norna.service.log.Type
Get type as string.
toString(byte[]) - Static method in class net.larsan.urd.util.HexUtils
Convert a byte array to a hex string.
toString(byte[], int, int) - Static method in class net.larsan.urd.util.HexUtils
Convert parts of a byte array to a hex string.
toString(File) - Static method in class net.larsan.urd.util.IOUtils
Read a complete file to a string.
toString(InputStream) - Static method in class net.larsan.urd.util.IOUtils
Read an complete input stream to a string.
transfer(InputStream, OutputStream) - Static method in class net.larsan.urd.util.IOUtils
Transfer bytes from one stream to another.
transfer(InputStream, OutputStream, int) - Static method in class net.larsan.urd.util.IOUtils
Transfer bytes from one stream to another.
transform(InputStream, InputStream, OutputStream) - Static method in class net.larsan.urd.util.XMLUtils
Apply a transformation on an input stream XML source.
TrivialFileSet - class net.larsan.urd.util.fileset.TrivialFileSet.
A trivial file set is a watched file set that only works in a single file.
TrivialFileSet(File, Timer) - Constructor for class net.larsan.urd.util.fileset.TrivialFileSet
Create file set.
type - Variable in class net.larsan.norna.service.log.Type
Record type.
Type - class net.larsan.norna.service.log.Type.
Log record type.
TYPE_ADDED - Static variable in class net.larsan.urd.jndi.NSEventQueue
 
TYPE_REMOVED - Static variable in class net.larsan.urd.jndi.NSEventQueue
 
TYPE_RENAMED - Static variable in class net.larsan.urd.jndi.NSEventQueue
 
Type(int) - Constructor for class net.larsan.norna.service.log.Type
Create type

U

UnavailableException - exception net.larsan.norna.UnavailableException.
Exception thrown by servers and services on load and start calls to signal an exception in the startup procedure.
UnavailableException() - Constructor for class net.larsan.norna.UnavailableException
Create exception
UnavailableException(String) - Constructor for class net.larsan.norna.UnavailableException
Create exception
UnavailableException(String, Throwable) - Constructor for class net.larsan.norna.UnavailableException
Create exception
UnavailableException(Throwable) - Constructor for class net.larsan.norna.UnavailableException
Create exception
unbind(Name) - Method in class net.larsan.urd.jndi.ContextImpl
 
unbind(String) - Method in class net.larsan.urd.impl.ClientContext
Please refer to the Namespace documenation.
unbind(String) - Method in class net.larsan.urd.jndi.ContextBase
 
unbind(String) - Method in interface net.larsan.norna.Namespace
Delete an object form the context space.
UNKNOWN - Static variable in class net.larsan.norna.service.log.Type
Unkown record type.
unload() - Method in interface net.larsan.norna.base.Loadable
Unload the service context.
UNLOADED - Static variable in class net.larsan.norna.Status
Unloaded status.
URD_VERSION - Static variable in class net.larsan.urd.Constants
Urd Server version
UrdEnvironment - class net.larsan.urd.impl.UrdEnvironment.
This class is an eagerly instantiated singleton implementing the Environment interface for the Urd framework.
UrdLoginModule - class net.larsan.urd.service.user.jaas.UrdLoginModule.
This login module acts on the Urd user file.
UrdLoginModule() - Constructor for class net.larsan.urd.service.user.jaas.UrdLoginModule
 
UrdPrincipal - class net.larsan.urd.service.user.jaas.UrdPrincipal.
Simple Urd principal.
UrdPrincipal(String) - Constructor for class net.larsan.urd.service.user.jaas.UrdPrincipal
 
UrdServer - class net.larsan.urd.impl.UrdServer.
This is the main Urd server class.
UrdServer() - Constructor for class net.larsan.urd.impl.UrdServer
Create server
UrdServerListener - interface net.larsan.urd.impl.UrdServerListener.
A Urd server notification interface.
UserHandle - interface net.larsan.norna.service.user.UserHandle.
The user service is intended as a thin layer on top of the JAAS specification.
UserPermission - class net.larsan.norna.service.user.UserPermission.
A permission used by the user service to checkaccess to the UserHandle methods.
UserPermission(String) - Constructor for class net.larsan.norna.service.user.UserPermission
Create permission.
UserRegistry - class net.larsan.urd.service.user.jaas.UserRegistry.
A simple user registry for the flat-file Urd user login.
UserRegistryTest - class net.larsan.urd.service.user.test.UserRegistryTest.
 
UserRegistryTest(String) - Constructor for class net.larsan.urd.service.user.test.UserRegistryTest
 
users - Variable in class net.larsan.urd.service.user.test.TestBase
 

V

validateJar(File) - Method in class net.larsan.urd.util.fileset.JarFileSet
Check if a JAR file should be included in the file set.
visit(String, Object) - Method in class net.larsan.urd.impl.AutoStartTask
Inherited from the context visitor.
visit(String, Object) - Method in class net.larsan.urd.impl.StopAllTask
Inherited from the context visitor.
visit(String, Object) - Method in class net.larsan.urd.impl.StartAllTask
Inherited from the context visitor.
visit(String, Object) - Method in class net.larsan.urd.jndi.ContextVisitor
Visit an object bound to the context.
visited - Variable in class net.larsan.urd.util.fileset.ResourceBase
Exact time the file was visited in milliconds since epoch.

W

wakeup() - Method in class net.larsan.urd.cmd.Acceptor
 
wakeup() - Method in class net.larsan.urd.cmd.CmdReader
 
WatchableFileSet - interface net.larsan.urd.util.fileset.WatchableFileSet.
A file set can choose to implement this interface to signal that it can throw events on resource changes.
WatchedFileSet - class net.larsan.urd.util.fileset.WatchedFileSet.
This file set is a RegexpFileSet that implements the WatchableFileSet interface.
WatchedFileSet(File) - Constructor for class net.larsan.urd.util.fileset.WatchedFileSet
Contruct the file without a regular expression or without an external timer.
WatchedFileSet(File, String) - Constructor for class net.larsan.urd.util.fileset.WatchedFileSet
Contruct the file set using a regular expression but without an external timer.
WatchedFileSet(File, String, Timer) - Constructor for class net.larsan.urd.util.fileset.WatchedFileSet
Contruct the file set using a regular expression and an external timer.
WebsiteCompiler - class net.larsan.urd.ant.WebsiteCompiler.
Ant task for building the Urd/Norna website.
WebsiteCompiler.PDate - class net.larsan.urd.ant.WebsiteCompiler.PDate.
 
WebsiteCompiler.PDate() - Constructor for class net.larsan.urd.ant.WebsiteCompiler.PDate
 
WebsiteCompiler.Property - class net.larsan.urd.ant.WebsiteCompiler.Property.
 
WebsiteCompiler.Property() - Constructor for class net.larsan.urd.ant.WebsiteCompiler.Property
 
WebsiteCompiler.Substitute - class net.larsan.urd.ant.WebsiteCompiler.Substitute.
 
WebsiteCompiler.Substitute() - Constructor for class net.larsan.urd.ant.WebsiteCompiler.Substitute
 
WebsiteCompiler() - Constructor for class net.larsan.urd.ant.WebsiteCompiler
 
write() - Method in class net.larsan.urd.Control
 
write(CmdTable) - Method in interface net.larsan.urd.cmd.CmdWriter
Write a table.
write(CmdTable) - Method in class net.larsan.urd.cmd.CmdWriterImpl
Write a table to the output.

X

XMLBody - class net.larsan.urd.ant.website.XMLBody.
An XML doc body applies an XSLT stylesheet before being applied anywhere.
XMLBody(File, File) - Constructor for class net.larsan.urd.ant.website.XMLBody
 
XMLException - exception net.larsan.urd.util.XMLException.
A nested exception for XML related services.
XMLException() - Constructor for class net.larsan.urd.util.XMLException
Create exception
XMLException(String) - Constructor for class net.larsan.urd.util.XMLException
Create exception
XMLException(String, Throwable) - Constructor for class net.larsan.urd.util.XMLException
Create exception
XMLException(Throwable) - Constructor for class net.larsan.urd.util.XMLException
Create exception
XMLUtils - class net.larsan.urd.util.XMLUtils.
Some static XML DOM util methods
XMLUtils() - Constructor for class net.larsan.urd.util.XMLUtils
 

A B C D E F G H I J K L M N O P Q R S T U V W X