站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 aspects API Documentation 英文版文档

Singleton (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档


org.jboss.aspects.patterns.singleton
Class Singleton

java.lang.Object
  extended byorg.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: 1.1 $
Author:
Adrian Brock

Constructor Summary
Singleton()
           
 
Method Summary
 Object constructorAdvice(org.jboss.aop.joinpoint.ConstructorInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Singleton

public Singleton()
Method Detail

constructorAdvice

public Object constructorAdvice(org.jboss.aop.joinpoint.ConstructorInvocation invocation)
                         throws Throwable
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.