|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--bees.core.SpecCapabilityFactory | +--bees.core.resource.LoggerFactory
A LoggerFactory is used to create new Logger capabilities from existing capabilities.
Constructor Summary | |
LoggerFactory()
Construct an empty Logger factory. |
Method Summary | |
Capability |
create(Capability parent,
CapabilitySpec sc)
|
Logger |
create(Console console,
LoggerSpec ls)
Create a new Logger from the given capabilities. |
Logger |
create(Console console,
LoggerSpec ls,
PermissionSet ps,
java.lang.String comment)
Create a new Logger from the given capabilities. |
Logger |
create(File file,
LoggerSpec ls)
Create a new Logger from the given capabilities. |
Logger |
create(File file,
LoggerSpec ls,
PermissionSet ps,
java.lang.String comment)
Create a new Logger from the given capabilities. |
Logger |
create(Logger parent,
LoggerSpec ls,
PermissionSet ps,
java.lang.String comment)
Create a new Logger from the given capabilities. |
Logger |
create(Logger parent,
java.lang.String prefix)
Create a new Logger from the given capabilities. |
Logger |
create(Logger parent,
java.lang.String prefix,
PermissionSet ps)
Create a new Logger from the given capabilities. |
java.lang.String |
toString()
|
Methods inherited from class bees.core.SpecCapabilityFactory |
create |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LoggerFactory()
Method Detail |
public Logger create(Console console, LoggerSpec ls, PermissionSet ps, java.lang.String comment)
console
- The Console capability to be used as output.ls
- The LoggerSpec that specifies the log prefix and level.ps
- The permissions to grant the new Logger capability.comment
- The comment to attach to capability in the kernel.public Logger create(Console console, LoggerSpec ls)
console
- The Console capability to be used as the output.ls
- The LoggerSpec that specifies the log prefix and level.public Logger create(File file, LoggerSpec ls, PermissionSet ps, java.lang.String comment)
file
- The File capability to be used as the output.ls
- The LoggerSpec that specifies the log prefix and level.ps
- The permissions to grant the new Logger capability.comment
- The comment to attach to capability in the kernel.public Logger create(File file, LoggerSpec ls)
file
- The File capability to be used as the output.ls
- The LoggerSpec that specifies the log prefix and level.public Capability create(Capability parent, CapabilitySpec sc)
create
in class SpecCapabilityFactory
SpecCapabilityFactory.create(Capability, CapabilitySpec)
public Logger create(Logger parent, LoggerSpec ls, PermissionSet ps, java.lang.String comment)
parent
- The Parent capability to be used as the output and extra
prefix.ls
- The LoggerSpec that specifies the log prefix and level.ps
- The permissions to grant the new Logger capability.comment
- The comment to attach to capability in the kernel.public Logger create(Logger parent, java.lang.String prefix, PermissionSet ps)
parent
- The Parent capability to be used as the output and extra
prefix.prefix
- The prefix for the new Logger capability.ps
- The permissions to grant the new Logger capability.public Logger create(Logger parent, java.lang.String prefix)
parent
- The Parent capability to be used as the output and extra
prefix.prefix
- The prefix for the new Logger capability.public java.lang.String toString()
toString
in class SpecCapabilityFactory
Object.toString()
|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |