org.jboss.aspects.patterns.singleton
Class Singleton
java.lang.Object
org.jboss.aspects.patterns.singleton.Singleton
public class Singleton
- extends Object
A simple implementation of a singleton.
This advice should be PER_CLASS scoped
e.g.
- Version:
- $Revision: 37406 $
- Author:
- Adrian Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Singleton
public Singleton()
constructorAdvice
public Object constructorAdvice(ConstructorInvocation invocation)
throws Throwable
- Throws:
Throwable
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.