This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cutom Environment Variables for Tomcat | |
# | |
############################################ | |
export JAVA_HOME=/usr/lib/jvm/java-7-oracle/jre | |
export PATH=${JAVA_HOME}/bin:${PATH} | |
############################################ | |
# | |
# JAVA_OPTS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) throws Exception { | |
ByteBuddyAgent.install(); | |
new AgentBuilder.Default() | |
.with(AgentBuilder.RedefinitionStrategy.RETRANSFORMATION) | |
.with(AgentBuilder.InitializationStrategy.NoOp.INSTANCE) | |
.with(AgentBuilder.TypeStrategy.Default.REDEFINE) | |
.ignore(new AgentBuilder.RawMatcher.ForElementMatchers(nameStartsWith("net.bytebuddy.").or(isSynthetic()), any(), any())) | |
.with(new AgentBuilder.Listener.Filtering( | |
new StringMatcher("java.util.Date", StringMatcher.Mode.EQUALS_FULLY), | |
AgentBuilder.Listener.StreamWriting.toSystemOut())) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* See LICENSE for licensing and NOTICE for copyright. | |
*/ | |
package edu.vt.middleware.app; | |
import java.io.File; | |
import java.security.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.function.Predicate; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Filter { | |
Date startDate | |
Date endDate | |
// Do not map this class | |
static mapWith = "none" | |
static constraints = { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Consultant { | |
static hasMany = [activities: Activity] | |
} | |
class Activity { | |
static belongsTo = [consultant: Consultant] | |
} |
NewerOlder