org.aspectj.weaver.tools.cache
Class SimpleCache
java.lang.Object
org.aspectj.weaver.tools.cache.SimpleCache
public class SimpleCache
- extends java.lang.Object
Copyright (c) 2012 Contributors.
All rights reserved.
This program and the accompanying materials are made available
under the terms of the Eclipse Public License v1.0
which accompanies this distribution and is available at
http://eclipse.org/legal/epl-v10.html
Contributors:
Abraham Nevado (lucierna) initial implementation
Field Summary |
static java.lang.String |
IMPL_NAME
|
Constructor Summary |
protected |
SimpleCache(java.lang.String folder,
boolean enabled)
|
Method Summary |
void |
addGeneratedClassesNames(java.lang.String parentClassName,
byte[] parentBytes,
java.lang.String generatedClassName)
|
byte[] |
getAndInitialize(java.lang.String classname,
byte[] bytes,
java.lang.ClassLoader loader,
java.security.ProtectionDomain protectionDomain)
|
void |
put(java.lang.String classname,
byte[] origbytes,
byte[] wovenbytes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMPL_NAME
public static final java.lang.String IMPL_NAME
- See Also:
- Constant Field Values
SimpleCache
protected SimpleCache(java.lang.String folder,
boolean enabled)
getAndInitialize
public byte[] getAndInitialize(java.lang.String classname,
byte[] bytes,
java.lang.ClassLoader loader,
java.security.ProtectionDomain protectionDomain)
put
public void put(java.lang.String classname,
byte[] origbytes,
byte[] wovenbytes)
addGeneratedClassesNames
public void addGeneratedClassesNames(java.lang.String parentClassName,
byte[] parentBytes,
java.lang.String generatedClassName)